VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Pages: [1] 2

Author Topic: Updating wants to install packages!  (Read 4693 times)

silver007

  • Member
  • *
  • Posts: 4
Updating wants to install packages!
« on: September 24, 2007, 06:16:01 pm »

Ok I've Marked All Possible Upgrades and went to apply then noticed Gslapt was wanting to install stuff - stuff like gcc, openldap, SAMBA!!!, etc... what the heck? I don't need this stuff and to think an update makes me need it sounds strange - anybody know what's going on?

Thanks

Also, can anyone suggest how to install SwiftWeasel? It's not listed in Gslapt. Should I add a repository? I don't want to have to worry about dependencies, but am up to some tarballs!
Logged

hata_ph

  • Packager
  • Vectorian
  • ****
  • Posts: 3261
  • -- Just being myself --
Re: Updating wants to install packages!
« Reply #1 on: September 24, 2007, 07:10:46 pm »

Ok I've Marked All Possible Upgrades and went to apply then noticed Gslapt was wanting to install stuff - stuff like gcc, openldap, SAMBA!!!, etc... what the heck? I don't need this stuff and to think an update makes me need it sounds strange - anybody know what's going on?

Is because of dependency. Some application/package need other packages to function.
Logged

Joe1962

  • Administrator
  • Vectorian
  • *****
  • Posts: 2499
    • Joe1962's Website
Re: Updating wants to install packages!
« Reply #2 on: September 24, 2007, 07:42:22 pm »

But it's very strange to have a gcc update, I think. If you are going to mark all upgrades, be sure to only have the patches and extra repos enabled.
Logged
O'Neill (RE the Asgard): "Usually they ask nicely before they ignore us and do what they damn well please."
http://joe1962.bigbox.info
Running: VL 7 Std 64 + self-cooked XFCE-4.10

uelsk8s

  • Administrator
  • Vectorian
  • *****
  • Posts: 2504
Re: Updating wants to install packages!
« Reply #3 on: September 24, 2007, 07:44:32 pm »

what VL version are you running? and does it match what is in your repo list?
Logged

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1553
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: Updating wants to install packages!
« Reply #4 on: September 24, 2007, 11:22:13 pm »

"upgrade" all packages is still a bad idea in my opinion. Auto upgrades have more than once proven to be one of the best ways to break a perfectly working system.

Quote
stuff like gcc, openldap, SAMBA!!!, etc... what the heck? I don't need this stuff and to think an update makes me need it sounds strange - anybody know what's going on?
Those are probably dependencies for other programs. If something is a dependency for a package, the package might not work properly without it (or just not load at all). Just because YOU don't think you need it doesn't mean the package you want to install doesn't need it. Then again sometimes you can skip a dependency unpunished or with some loss of functionality.

If you decide to not follow dependency rules that's ok, just don't be surprised if programs don't work correctly (or at all). Also, managing your packages is probably going to be harder.

I'm not sure why you think you don't need gcc. it's not just a compiler, it's one of the backbones of modern linux systems. It also comes with a couple of libraries. If one of those is linked against by a package, it'll probably need gcc. Unless you're reaaaaally short on space I would not make too much trouble about the 9170Kb the gcc package takes and just install it. After that, you can build the packages you want without openldap and samba support yourself ;D.
Logged
Most music on my soundcloud page was arranged in programs running on VL.

lagagnon

  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1922
Re: Updating wants to install packages!
« Reply #5 on: September 25, 2007, 07:35:19 am »

"upgrade" all packages is still a bad idea in my opinion. Auto upgrades have more than once proven to be one of the best ways to break a perfectly working system.
I wholeheartedly agree, and it is not a problem with just VL. Many other users experience such problems with other distros attempting to do auto upgrades - read "The Danger of Automatic Updates": http://www.linux.com/feature/119162
Logged
"As people become more intelligent they care less for preachers and more for teachers". Robert G. Ingersoll

silver007

  • Member
  • *
  • Posts: 4
Re: Updating wants to install packages!
« Reply #6 on: September 25, 2007, 05:14:41 pm »

Some people have brought up dependencies and that's what I thought of, but this is a fresh install. Would all these dependencies be missing from the install? To me, this would mean the authors of all these "upgrades" saw fit to add all these dependencies to their apps. Something doesn't seem right.
Logged

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2317
Re: Updating wants to install packages!
« Reply #7 on: September 25, 2007, 05:32:48 pm »

Sounds like there is two possibilities: a) Something went wrong during the install, specially in the install packages stage. b)You did not choose to install those packages when the installer asked for it.
A third option already mentioned by the headeacher is you have a non-vl repo enabled in slapt-getrc.
Some tests you can do: check /var/packages to see if some of those deps are already there, stuff like gcc or samba are always there after a fresh install for me. Install some apps instead a full upgrade and see how the deps are working. Check your /etc/slapt-get/slapt-getrc file.
Which version of vl are you using? May be you installed a live cd. The live cd version ships less software because there is less room in the iso.
cat /etc/vector-version will tell you the exact version of vl.
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1553
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: Updating wants to install packages!
« Reply #8 on: September 26, 2007, 12:21:09 am »

Quote
Would all these dependencies be missing from the install?
Depends on what (bulk) packages you selected during install. Looks to me like you skipped Samba and the entire dev tools thingy (not sure what it's called in the installer).

Quote
To me, this would mean the authors of all these "upgrades" saw fit to add all these dependencies to their apps.
You can't build a package that satisfies everybody. Usually, packages are built so they can be installed on a VL standard install with the default package selection. Then again, a lot of programs need extra libraries to work

Most programs also have optional dependencies during build time. You'll get more functionality if you build it with those optional dependencies (or, if you look at it the other way, you cripple the program if you don't build it against those optional dependencies).

Ultimately, it is up to the packagers to decide what dependency is to be included and which isn't. As long as you use a packages based distribution you will occasionally get packages you don't really want. But this is only a small trade off if you look at the time it would take to package something yourself without a particular dependency.

Quote
A third option already mentioned by the headeacher is you have a non-vl repo enabled in slapt-getrc.
I didn't say such a thing ;).
Logged
Most music on my soundcloud page was arranged in programs running on VL.

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2317
Re: Updating wants to install packages!
« Reply #9 on: September 26, 2007, 05:22:58 am »

Quote
A third option already mentioned by the headeacher is you have a non-vl repo enabled in slapt-getrc.
I didn't say such a thing ;).


 :D Oops, I was quoting from my memory, may be in another thread? I should sleep more, and do one thing at a time.
Logged
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

wcs

  • Packager
  • Vectorian
  • ****
  • Posts: 1144
Re: Updating wants to install packages!
« Reply #10 on: September 29, 2007, 04:02:39 am »

Quote
stuff like gcc, openldap, SAMBA!!

I guess samba is showing up as a dependency of mplayer...
Logged

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: Updating wants to install packages!
« Reply #11 on: September 29, 2007, 08:17:56 am »

Quote
I guess samba is showing up as a dependency of mplayer...
This bothers me  :-\  I use mplayer, but have no use for Samba.
Logged

The Headacher

  • Louder than you
  • Global Moderator
  • Vectorian
  • *****
  • Posts: 1553
  • I like the bass to go BOOM!
    • Multimedia on VL (work in progress)
Re: Updating wants to install packages!
« Reply #12 on: September 29, 2007, 10:09:24 am »

Quote
This bothers me :-\ I use mplayer, but have no use for Samba.
Me neither, but you can't build packages that satisfy everybody's wishes. If you use Samba it would be nice if you could play media files on Samba mounts like they were on your own computer, wouldn't it?

Every "binary" distro will get you some packages you'd rather not have, unless you build your own. I tried using Gentoo to get around this problem for a while, but ended up spending way too much time and effort to justify the resulting optimizations.
Logged
Most music on my soundcloud page was arranged in programs running on VL.

exeterdad

  • Packager
  • Vectorian
  • ****
  • Posts: 2046
Re: Updating wants to install packages!
« Reply #13 on: September 29, 2007, 12:03:00 pm »

Quote
This bothers me :-\ I use mplayer, but have no use for Samba.
Me neither, but you can't build packages that satisfy everybody's wishes. If you use Samba it would be nice if you could play media files on Samba mounts like they were on your own computer, wouldn't it?

Every "binary" distro will get you some packages you'd rather not have, unless you build your own. I tried using Gentoo to get around this problem for a while, but ended up spending way too much time and effort to justify the resulting optimizations.
Well said.  Mplayer should be built with Samba.  I can live with it  :)
Logged

newt

  • Vectorian
  • ****
  • Posts: 1132
Re: Updating wants to install packages!
« Reply #14 on: September 29, 2007, 12:29:19 pm »

Quote
stuff like gcc, openldap, SAMBA!!

I guess samba is showing up as a dependency of mplayer...

IIRC, you can install mplayer without samba and it works just fine... something along the lines of 'slapt-get --nodeps --install <name_of_package>.tlz'
Logged
Pages: [1] 2