Page 1 of 1

Cannot install medit

Posted: 30. Jul 2014, 04:40
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.

Re: Cannot install medit

Posted: 30. Jul 2014, 11:16
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]# 

Re: Cannot install medit

Posted: 30. Jul 2014, 13:18
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 

Re: Cannot install medit

Posted: 30. Jul 2014, 19:23
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[~]$ 

Re: Cannot install medit

Posted: 30. Jul 2014, 23:07
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