Cannot install medit

You have a problem with Salix? Post here and we'll do what we can to help.
Post Reply
macondo
Posts: 90
Joined: 16. Jun 2011, 02:08

Cannot install medit

Post by macondo »

Thru sourcery i get the following error:

Code: Select all

There was an error while downloading source files for medit 1.1.1.
All pending actions will be purged from the processing queue.
PS: gslapt doesn't have it in the repos.
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Cannot install medit

Post by laprjns »

I don't have and answer but can confirm the problem and provide some additional information

Code: Select all

root[Downloads]# slapt-src --i medit
The following packages will be installed:
 medit 
Do you want to continue? [y/N] y
Fetching README...Done
Fetching doinst.sh...Done
Fetching medit.SlackBuild...Done
Fetching medit.info...Done
Fetching slack-desc...Done
Fetching http://downloads.sourceforge.net/mooedit/medit-1.1.1.tar.bz2...Done
MD5SUM mismatch for medit-1.1.1.tar.bz2
root[Downloads]# 
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Cannot install medit

Post by laprjns »

While waiting for someone to determine what the issue is, as a work around you can install medit this way using slapt-src in a terminal:

1) Fetch the slackbuild sources file

Code: Select all

sudo slapt-src -f medit
2) Change to the slapt-src working directory:

Code: Select all

cd /usr/src/slapt-src/development/medit
3) make the medit.Slackbuild executable:

Code: Select all

sudo chmod +x medit.SlackBuild
4) build the medit package

Code: Select all

sudo ./medit.SlackBuild 
5) install the medit package

Code: Select all

sudo spkg -i  /tmp/medit-1.1.1-x86_64-1_SBo.tgz 
Also you could also try to build and install the latest medit version, 1.2.0 by doing the following:

1) Fetch the slackbuild sources file

Code: Select all

sudo slapt-src -f medit
2) Change to the slapt-src working directory:

Code: Select all

cd /usr/src/slapt-src/development/medit
2a) Fetch the medit 1.2.0 source

Code: Select all

sudo wget http://downloads.sourceforge.net/project/mooedit/medit/1.2.0/medit-1.2.0.tar.bz2
3) make the medit.Slackbuild executable:

Code: Select all

sudo chmod +x medit.SlackBuild
4) build the medit 1.2.0 package

Code: Select all

sudo VERSION=1.2.0 ./medit.SlackBuild 
5) install the medit package

Code: Select all

sudo spkg -i  /tmp/medit-1.1.1-x86_64-1_SBo.tgz 
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
macondo
Posts: 90
Joined: 16. Jun 2011, 02:08

Re: Cannot install medit

Post by macondo »

Thank you very much laprjns!

Unfortunately, this is what i get:

Code: Select all

macondo[~]$ sudo slapt-src -f medit
Password:
The following packages will be fetched:
 medit 
Do you want to continue? [y/N] y
Fetching README...Done
Fetching doinst.sh...Done
Fetching medit.SlackBuild...Done
Fetching medit.info...Done
Fetching slack-desc...Done
Fetching http://downloads.sourceforge.net/mooedit/medit-1.1.1.tar.bz2...Failed
macondo[~]$ 
User avatar
laprjns
Salix Warrior
Posts: 1113
Joined: 28. Aug 2009, 01:30
Location: Connecticut USA

Re: Cannot install medit

Post by laprjns »

I'm getting the same error here now. Try manually downloading it to the slapt-src working directory.

Code: Select all

cd /usr/src/slapt-src/development/medit
sudo wget http://downloads.sourceforge.net/mooedit/medit-1.1.1.tar.bz2
“The past was erased, the erasure was forgotten, the lie became the truth.”
― George Orwell, 1984
Post Reply