LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
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 12-02-2005, 08:27 AM   #1
Marel
Member
 
Registered: May 2005
Location: Serbia
Distribution: Debian, Ubuntu, Red Hat, Gentoo
Posts: 64

Rep: Reputation: 15
Why 'slapt-get --upgrade' installs new packages


I run 'slapt-get --upgrade' and it told me that it has to install new packages postgresql and libpqxx. I don't know what libpqxx is, but i am shure i don't need postgresql. I cannot figure out this behaviour. Can anyone explain this?
 
Old 12-02-2005, 04:31 PM   #2
kodon
Member
 
Registered: Jul 2004
Location: [jax][fl][usa]
Distribution: Slackware64-current
Posts: 796

Rep: Reputation: 31
i don't believe either of those are in the official current tree
check your mirrors
 
Old 12-02-2005, 06:42 PM   #3
tuxdev
Senior Member
 
Registered: Jul 2005
Distribution: Slackware
Posts: 2,014

Rep: Reputation: 115Reputation: 115
It happens to me as well. Decides that I should have tcsh when I really just want bash.
 
Old 12-03-2005, 12:48 AM   #4
jaos
LQ Newbie
 
Registered: Aug 2005
Posts: 16

Rep: Reputation: 0
What sources are you using? You may have picked up something from linuxpackages and the packager built the app against postgresql.


take care,
jason
 
Old 12-03-2005, 02:15 AM   #5
Marel
Member
 
Registered: May 2005
Location: Serbia
Distribution: Debian, Ubuntu, Red Hat, Gentoo
Posts: 64

Original Poster
Rep: Reputation: 15
Quote:
Originally posted by jaos
What sources are you using? You may have picked up something from linuxpackages and the packager built the app against postgresql.


take care,
jason
Yes, i am using linuxpackages, yet i don't understand it. Does it mean that you have to install all packages the packager had on his machine, even if they contain files you don't need?
 
Old 12-03-2005, 02:41 AM   #6
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 49
Quote:
Originally posted by Marel
Yes, i am using linuxpackages, yet i don't understand it. Does it mean that you have to install all packages the packager had on his machine, even if they contain files you don't need?
You are close. This means that you need to install SOME of the packages the packager had on his machine, because when he compiled the program and made a package, the new package was linked against those packages.

To try and clarify, it would seem that some package that you installed was linked against postgresql and libpqxx. The packager no doubt had those installed. But you are not asked to install other packages that the packager may have had installed, because the package they created didn't link against EVERYTHING the packager had installed (just postgresql and libpqxx).

You may THINK you don't need to install postgresql and libpqxx, but you definatley do need to install them to get the packages linked against them to work correctly/completely.

This is not an uncommon problem with packages from linuxpackages.net. Many packagers contribute to their repository, and not all are careful about maintaining a clean build system or noting extra dependencies. You can't really blame linuxpackages.net for the problem. one solution would be to build packages yourself. Another solution would be for a repository to only accept binaries from compilers/packagers who demonstrated a thorough knowledge of compiling/packaging. A final solution woul be for a repository to have a team of trusted packagers and only accept build scripts from contributors (having the repository team do the actual compilation).

Sometimes, though, the problem lies in the installer, and not the packager. Many packagers clearly note all the required dependencies of their package, only to have their notes ignored. Linuxpackages.net does recommend including files to note dependencies (slack-required, slack-suggests, and slack-conflicts). Many people fail to read/understand these, though, and complain of dependency problems.
 
  


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
Hoooray! Upgrade from 10 to 10.1 with slapt-get works! vharishankar Slackware 9 06-08-2005 02:03 AM
slapt-get error 404 on 1 pkg stops upgrade farpoint Slackware 2 05-11-2005 03:28 PM
Slapt-get upgrade to current killed my system zwyrbla Slackware 15 01-27-2005 10:35 PM
Getting specific packages with slapt-get nmoog Slackware 3 04-20-2004 09:08 AM
slapt-get upgrade problems timsch75 Linux - Software 0 04-05-2004 08:56 PM


All times are GMT -5. The time now is 07:29 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration