Debian This forum is for the discussion of Debian Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
01-17-2005, 10:31 PM
|
#1
|
Member
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158
Rep:
|
When are security updates available? OR WHat the heck am I mucking up here?
I am running a server with a basic install running stable.
Could someone please explain to me why the update that is made available on security.debian.org is apparently not available to me?
An example:
Today I received a security update regarding gallery, that included the following line:
Quote:
For the stable distribution (woody) these problems have been fixed in
version 1.2.5-8woody3.
|
So, I run apt-get clean. (just to be sure that the cache is clean)
then apt-get update,
then do apt-cache show gallery.
This is part of what I find in the output:
Quote:
Package: gallery
...
Version: 1.2.5-8woody2
|
Why is it not the version mentioned in the update message? (1.2.5-8woody3)
Here is my sources list:
Thank you for any assistance
Steve
|
|
|
01-18-2005, 12:01 PM
|
#2
|
Member
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158
Original Poster
Rep:
|
Here is what I have found out further:
If I remove all the sources except:
I end up with the right version on doing: apt-cache show gallery.
My understanding is that apt automagically finds the latest version of any software from the list of sources given, so what gives?
Steve
|
|
|
01-18-2005, 02:01 PM
|
#3
|
Member
Registered: Mar 2004
Location: Finland
Distribution: Gentoo
Posts: 235
Rep:
|
MEPIS is not pure Debian eventhough it's based on it.
|
|
|
01-18-2005, 05:38 PM
|
#4
|
LQ Newbie
Registered: Jan 2005
Location: Canada
Distribution: Debian
Posts: 12
Rep:
|
That is very strange. You are correct: including all the sources should give you the highest version by default. I am not sure what is causing your problem but here is a guess: If somehow you put a package on "hold" then it will not be updated even if there is a newer version. Usually you have to make a conscious decision to do this, however.
If you try adding your other sources again does the problem go away? Or does the package revert to the older version?
|
|
|
01-18-2005, 05:39 PM
|
#5
|
Member
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158
Original Poster
Rep:
|
Quote:
Originally posted by vrln
MEPIS is not pure Debian eventhough it's based on it.
|
Ummm, not sure what that has to do with anything, vlrn.
As I said I am running Debian stable on a server. Netinstall with only the basics, LAMP, ssh etc.
Steve
|
|
|
01-18-2005, 05:45 PM
|
#6
|
Member
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158
Original Poster
Rep:
|
Quote:
Originally posted by pnijjar
That is very strange. You are correct: including all the sources should give you the highest version by default. I am not sure what is causing your problem but here is a guess: If somehow you put a package on "hold" then it will not be updated even if there is a newer version. Usually you have to make a conscious decision to do this, however.
|
I haven't pinned anything. This is a stock install .
Quote:
If you try adding your other sources again does the problem go away? Or does the package revert to the older version?
|
Hmmm. I did that, and the package reverts to the older version.
What does that mean??
Thanks for the thoughts!
Steve
|
|
|
01-18-2005, 05:49 PM
|
#7
|
Member
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158
Original Poster
Rep:
|
Quote:
Originally posted by vrln
MEPIS is not pure Debian eventhough it's based on it.
|
Perhaps my profile threw you off - see the updated version
Steve
|
|
|
01-18-2005, 05:54 PM
|
#8
|
LQ Newbie
Registered: Jan 2005
Location: Canada
Distribution: Debian
Posts: 12
Rep:
|
What does
apt-cache showpkg gallery
show you? It should show that both versions are available.
Also try
dpkg -l gallery
to see the package states (just to make sure).
You don't necessarily need to mess around with config files to
put packages on hold. I don't think it is equivalent to pinning
a package.
I don't know whether posting these two pieces of output will help,
but it will at least establish the problem.
|
|
|
01-18-2005, 06:19 PM
|
#9
|
Member
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158
Original Poster
Rep:
|
Well, duh :mad:
Quote:
Originally posted by pnijjar
What does
apt-cache showpkg gallery
show you? It should show that both versions are available.
|
Yes it does! I did not see that there were TWO entries, one of which referred to the newer version. Thanks for pointing that out.
I hadn't installed the prg yet, so that would not help here. If I had installed, it would have installed the newer version, I'm sure.
Phew, that feels better!
Thanks
Steve
|
|
|
01-18-2005, 08:12 PM
|
#10
|
Member
Registered: Jan 2003
Location: Canada
Distribution: Ubuntu, Mepis, Debian
Posts: 158
Original Poster
Rep:
|
Quote:
Originally posted by pnijjar
You don't necessarily need to mess around with config files to
put packages on hold. I don't think it is equivalent to pinning
a package.
|
Yeah, 'hold' applies to a package, and is a dpkg command, while 'pinning' refers to setting priorities to the apt-get utility in apt_preferences. I think you can use pinning to hold a package as well though, if I read the man correctly.
From here
....
The format is simple:
Package: <package>
Pin: <pin definition>
Pin-Priority: <pin's priority>
For example, to keep package sylpheed that I have modified to use "reply-to-list" at version 0.4.99, I add:
Package: sylpheed
Pin: version 0.4.99*
Note that I used an * (asterisk). This is a "wildcard"; it say that I want that this "pin" to be valid for all versions beginning with 0.4.99. This is because Debian versions its packages with a "Debian revision" and I don't want to avoid the installation of these revisions. So, for instance, versions 0.4.99-1 and 0.4.99-10 will be installed as soon as they are made available. Note that if you modified the package you won't want to do things this way.
The pin priority helps determine whether a package matching the "Packages:" and "Pin:" lines will be installed, with higher priorities making it more likely that a matching package will be installed. You can read apt_preferences(7) for a thorough discussion of priorities, but a few examples should give the basic idea. The following describes the effect of setting the priority field to different values in the sylpheed example above.
1001
Sylpheed version 0.4.99 will never be replaced by apt. If available, apt will install version 0.4.99 even if it would replace an installed package with a higher version. Only packages of priority greater than 1000 will ever downgrade an existing package.
1000
The effect is the same as priority 1001, except that apt will refuse to downgrade an installed version to 0.4.99
.....
Ah, the wonders of Debian
Steve
|
|
|
All times are GMT -5. The time now is 03:21 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|