LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 01-20-2017, 10:53 AM   #1
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Rep: Reputation: 7
Slackware 14.2 multilib - Unable to upgrade mpd via sbopkg


Hello,

i try to install the new mpd package which is available on the SlackBuilds site. When i installed the previous version i had special build options, which i can see in SboPkg. It prompts me if i want to use them, i select to use the local build file but it fails. I had a look at all the files, which SboPkg is using, there is no reference of the old version. Nevertheless Sbo fails. Here is the output:
Code:
PRE-CHECK LOG                                                                           │  
                           │ Using the SBo repository for Slackware 14.2                                             │  
                           │ Queue Process:  Download, build, and install                                            │  
                           │                                                                                         │  
                           │ mpd:                                                                                    │  
                           │   Checking GPG for mpd.tar.gz ... OK                                                    │  
                           │   Processing mpd 0.20.1-1                                                               │  
                           │   Using original .info file                                                             │  
                           │   Using local SlackBuild file                                                           │  
                           │   Build options: ISO9660=yes RECORDEROUTPUT=yes ZZIPLIB=yes ID3=yes FLAC=yes SQLITE=yes
Processing mpd

mpd:
Found mpd-0.20.1.tar.xz in /var/cache/sbopkg.
Checking MD5SUM:
  MD5SUM check for mpd-0.20.1.tar.xz ... OK
Building package for mpd...
tar: /var/lib/sbopkg/SBo/14.2/audio/mpd/mpd-0.19.17.tar.xz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now

mpd:
Would you like to continue processing the rest of the
queue or would you like to abort?  If this failed
package is a dependency of another package in the queue
then it may not make sense to continue.

(Y)es to continue, (N)o to abort, (R)etry the build?:
The file
Code:
mpd.SlackBuild
contains the new version of mpd. There is also a file
Code:
mpd.SlackBuild.sbopkg
which contains the old version of mpd.
 
Old 01-20-2017, 02:02 PM   #2
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
The original SlackBuild you edited was for version 0.19.17, the new .info file downloads version 0.20.1. So, when the modified SlackBuild goes to extract the source, it tries to extract the non-existent 0.19.17 instead of the downloaded 0.20.1.

Most likely, all you'll need to do is change the version at the top of the SlackBuild, but if the maintainer made other changes to the SlackBuild (patches, sed lines, configure options, etc), the build may still fail since you'd be using an older version of the SlackBuild. In that case, it might be best to discard your older version of the SlackBuild and modify the new one to match the options you want.
 
Old 01-26-2017, 01:43 PM   #3
glupa4e
Member
 
Registered: Jan 2011
Posts: 321

Original Poster
Rep: Reputation: 7
Well i could not upgrade mpd via SBopkg GUI. I did it manually. I downloaded the SlackBuild and the source, unzipped it and then i executted the .SlackBuild file:
ISO9660=yes SOUNDCLOUD=yes RECORDEROUTPUT=yes ZZIPLIB=yes ID3=yes FLAC=yes SQLITE=yes ./mpd.SlackBuild
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] unable to install graphviz 64 on slackware 14.1 64 bits through sbopkg allenlinux Slackware 9 12-27-2014 01:29 PM
[SOLVED] Upgrade from Slackware 14.0 to 14.1: unable to boot. lensilvan Slackware 17 07-22-2014 09:00 AM
[SOLVED] How can I install virtualbox with sbopkg on a multilib 64bit? chytraeus Slackware 15 09-11-2013 07:50 PM
[SOLVED] sbopkg: b0rked by bash upgrade in -current? chexmix Slackware 6 03-04-2010 08:26 AM
Sound in mpd after an upgrade to 13.0 alkos333 Slackware 2 09-08-2009 10:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:43 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration