Get update type of .deb file

classic Classic list List threaded Threaded
20 messages Options
Reply | Threaded
Open this post in threaded view
|

Get update type of .deb file

Big bang theory
My question is really simple: how I can get the update type of a deb package?

Example:
vim_7.3.429-2ubuntu2.1_amd64.deb -> precise
vim_7.3.429-2ubuntu2_amd64.deb  -> precise-updates

vino_3.4.2-0ubuntu1.2_amd64.deb -> precise-security
vino_3.4.1-0ubuntu1_amd64.deb -> precise



--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Liam Proven
On 27 March 2013 16:53, Giuseppe Baglio <[hidden email]> wrote:
> My question is really simple: how I can get the update type of a deb
> package?
>
> Example:
> vim_7.3.429-2ubuntu2.1_amd64.deb -> precise
> vim_7.3.429-2ubuntu2_amd64.deb  -> precise-updates
>
> vino_3.4.2-0ubuntu1.2_amd64.deb -> precise-security
> vino_3.4.1-0ubuntu1_amd64.deb -> precise

What does "update-type" mean?

The part after the arrow in your examples is the repository from which
the package came. Security repos contain only security-related
bugfixes; ideal for systems where you must have stability.

The general repos contain bug-fixes and other more general updates.

You can choose all updates or just security ones.

--
Liam Proven • Profile: http://lproven.livejournal.com/profile
Email: [hidden email] • GMail/G+/Twitter/Flickr/Facebook: lproven
MSN: [hidden email] • Skype/AIM/Yahoo/LinkedIn: liamproven
Tel: +44 20-8685-0498 • Cell: +44 7939-087884

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Tom H-4
In reply to this post by Big bang theory
On Wed, Mar 27, 2013 at 12:53 PM, Giuseppe Baglio
<[hidden email]> wrote:

>
> My question is really simple: how I can get the update type of a deb
> package?
>
> Example:
> vim_7.3.429-2ubuntu2.1_amd64.deb -> precise
> vim_7.3.429-2ubuntu2_amd64.deb  -> precise-updates
>
> vino_3.4.2-0ubuntu1.2_amd64.deb -> precise-security
> vino_3.4.1-0ubuntu1_amd64.deb -> precise

aptitude search -F "%p %t %v %V" vim
aptitude search -F "%p %t %v %V" ^vim$

apt-cache madison vim

apt-cache policy vim

(less obviously because you have to look at the name of the
"/var/lib/apt/lists/..._Packages" file associated with the vim
version)
apt-cache showpkg vim

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Big bang theory
WOW thank you very much! I think this is what i need 
Cheers


Da: Tom H <[hidden email]>
A: Ubuntu Users <[hidden email]>
Inviato: Mercoledì 27 Marzo 2013 19:21
Oggetto: Re: Get update type of .deb file

On Wed, Mar 27, 2013 at 12:53 PM, Giuseppe Baglio
<[hidden email]> wrote:

>
> My question is really simple: how I can get the update type of a deb
> package?
>
> Example:
> vim_7.3.429-2ubuntu2.1_amd64.deb -> precise
> vim_7.3.429-2ubuntu2_amd64.deb  -> precise-updates
>
> vino_3.4.2-0ubuntu1.2_amd64.deb -> precise-security
> vino_3.4.1-0ubuntu1_amd64.deb -> precise

aptitude search -F "%p %t %v %V" vim
aptitude search -F "%p %t %v %V" ^vim$

apt-cache madison vim

apt-cache policy vim

(less obviously because you have to look at the name of the
"/var/lib/apt/lists/..._Packages" file associated with the vim
version)
apt-cache showpkg vim

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Big bang theory
And what if I would fetch the repository information from a .deb file? There is any way to do it?
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Big bang theory
In reply to this post by Big bang theory
I've done a bunch of online researches but I can't find a solution. I think it's impossible there is no way to find the repository from a deb file package


Da: Giuseppe Baglio <[hidden email]>
A: "[hidden email]" <[hidden email]>
Inviato: Mercoledì 27 Marzo 2013 17:53
Oggetto: Get update type of .deb file

My question is really simple: how I can get the update type of a deb package?

Example:
vim_7.3.429-2ubuntu2.1_amd64.deb -> precise
vim_7.3.429-2ubuntu2_amd64.deb  -> precise-updates

vino_3.4.2-0ubuntu1.2_amd64.deb -> precise-security
vino_3.4.1-0ubuntu1_amd64.deb -> precise



--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users



--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Colin Law-4
On 3 April 2013 15:08, Giuseppe Baglio <[hidden email]> wrote:
> I've done a bunch of online researches but I can't find a solution. I think
> it's impossible there is no way to find the repository from a deb file
> package

I believe that the same deb file could be in multiple repositories.
Why do you want to find which repository it came from?

By the way, it is preferred not to top post on this list.  Insert your
reply at appropriate points in the previous message.  Thanks.

Colin

>
> ________________________________
> Da: Giuseppe Baglio <[hidden email]>
> A: "[hidden email]" <[hidden email]>
> Inviato: Mercoledì 27 Marzo 2013 17:53
> Oggetto: Get update type of .deb file
>
> My question is really simple: how I can get the update type of a deb
> package?
>
> Example:
> vim_7.3.429-2ubuntu2.1_amd64.deb -> precise
> vim_7.3.429-2ubuntu2_amd64.deb  -> precise-updates
>
> vino_3.4.2-0ubuntu1.2_amd64.deb -> precise-security
> vino_3.4.1-0ubuntu1_amd64.deb -> precise
>
>
>
> --
> ubuntu-users mailing list
> [hidden email]
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>
>
>
> --
> ubuntu-users mailing list
> [hidden email]
> Modify settings or unsubscribe at:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Big bang theory
Colin Law-4 wrote
I believe that the same deb file could be in multiple repositories.
Are you sure about that? It seems a little bit strange to me.

Colin Law-4 wrote
Why do you want to find which repository it came from?
I'm working on a project dealing with security in an Ubuntu distribution: saying if the running distribution is secure, updated and what kind of security problem is afflicted from and an important key point is the fetching the repository of the package. My problem is that I have a local packages mirror, created with debmirror and rsync, but I've lost the log files which the update type/repository information is stored in. So I'm searching a way to fetch this info so that I can recreate a consistent  DB of packages.

Colin Law-4 wrote
By the way, it is preferred not to top post on this list.  Insert your
reply at appropriate points in the previous message.  Thanks.

Colin
Thank you, I didn't know about that

Giuseppe
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Tom H-4
In reply to this post by Big bang theory
On Tue, Apr 2, 2013 at 6:30 AM, Giuseppe Baglio
<[hidden email]> wrote:

> Da: Tom H <[hidden email]>
> Inviato: Mercoledì 27 Marzo 2013 19:21
>> On Wed, Mar 27, 2013 at 12:53 PM, Giuseppe Baglio
>> <[hidden email]> wrote:
>>>
>>> My question is really simple: how I can get the update type of a deb
>>> package?
>>>
>>> Example:
>>> vim_7.3.429-2ubuntu2.1_amd64.deb -> precise
>>> vim_7.3.429-2ubuntu2_amd64.deb  -> precise-updates
>>>
>>> vino_3.4.2-0ubuntu1.2_amd64.deb -> precise-security
>>> vino_3.4.1-0ubuntu1_amd64.deb -> precise
>>
>> aptitude search -F "%p %t %v %V" vim
>> aptitude search -F "%p %t %v %V" ^vim$
>>
>> apt-cache madison vim
>>
>> apt-cache policy vim
>>
>> (less obviously because you have to look at the name of the
>> "/var/lib/apt/lists/..._Packages" file associated with the vim
>> version)
>> apt-cache showpkg vim
>
> WOW thank you very much! I think this is what i need.

You're welcome.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Big bang theory
Tom H-4 wrote
On Tue, Apr 2, 2013 at 6:30 AM, Giuseppe Baglio
<[hidden email]> wrote:
> Da: Tom H <[hidden email]>
> Inviato: Mercoledì 27 Marzo 2013 19:21
>> On Wed, Mar 27, 2013 at 12:53 PM, Giuseppe Baglio
>> <[hidden email]> wrote:
>>>
>>> My question is really simple: how I can get the update type of a deb
>>> package?
>>>
>>> Example:
>>> vim_7.3.429-2ubuntu2.1_amd64.deb -> precise
>>> vim_7.3.429-2ubuntu2_amd64.deb  -> precise-updates
>>>
>>> vino_3.4.2-0ubuntu1.2_amd64.deb -> precise-security
>>> vino_3.4.1-0ubuntu1_amd64.deb -> precise
>>
>> aptitude search -F "%p %t %v %V" vim
>> aptitude search -F "%p %t %v %V" ^vim$
>>
>> apt-cache madison vim
>>
>> apt-cache policy vim
>>
>> (less obviously because you have to look at the name of the
>> "/var/lib/apt/lists/..._Packages" file associated with the vim
>> version)
>> apt-cache showpkg vim
>
> WOW thank you very much! I think this is what i need.

You're welcome.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
I really appreciate your reply but now I need something that is independant from the running version of Ubuntu, do you have any idea ?
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Colin Law-4
In reply to this post by Big bang theory
On 3 April 2013 15:49, Big bang theory <[hidden email]> wrote:
> Colin Law-4 wrote
>> I believe that the same deb file could be in multiple repositories.
>
> Are you sure about that? It seems a little bit strange to me.

See below

>
>
> Colin Law-4 wrote
>> Why do you want to find which repository it came from?
>
> I'm working on a project dealing with security in an Ubuntu distribution:
> saying if the running distribution is secure, updated and what kind of
> security problem is afflicted from and an important key point is the
> fetching the repository of the package. My problem is that I have a local
> packages mirror, created with debmirror and rsync, but I've lost the log
> files which the update type/repository information is stored in. So I'm
> searching a way to fetch this info so that I can recreate a consistent  DB
> of packages.

In that case the repository they came from is probably your mirror.
As I said, the same deb file can be found in multiple repositories, in
this case the mirror and the original (which may itself be another
mirror of course).  I think I misunderstood exactly what you are
asking however.  Perhaps it would be easiest just to recreate the
mirror.

Colin

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Oliver Grawert
In reply to this post by Big bang theory
hi,
Am Mittwoch, den 03.04.2013, 08:09 -0700 schrieb Big bang theory:
>
> I really appreciate your reply but now I need something that is independant
> from the running version of Ubuntu, do you have any idea ?
>
have a look at grep-dctrl ...

ciao
        oli


--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users

signature.asc (205 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Tom H-4
In reply to this post by Big bang theory
On Tue, Apr 2, 2013 at 7:02 AM, Big bang theory
<[hidden email]> wrote:
>
> And what if I would fetch the repository information from a .deb file?

.deb files don't have that info.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Tom H-4
In reply to this post by Big bang theory
On Wed, Apr 3, 2013 at 10:08 AM, Giuseppe Baglio
<[hidden email]> wrote:
>
> I've done a bunch of online researches but I can't find a solution. I think
> it's impossible there is no way to find the repository from a deb file
> package

The info's in the "/var/lib/apt/lists/*_Packages" files.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Tom H-4
In reply to this post by Big bang theory
On Wed, Apr 3, 2013 at 11:09 AM, Big bang theory
<[hidden email]> wrote:

>>>>>
>>>>> My question is really simple: how I can get the update type of a deb
>>>>> package?
>>>>>
>>>>> Example:
>>>>> vim_7.3.429-2ubuntu2.1_amd64.deb -> precise
>>>>> vim_7.3.429-2ubuntu2_amd64.deb  -> precise-updates
>>>>>
>>>>> vino_3.4.2-0ubuntu1.2_amd64.deb -> precise-security
>>>>> vino_3.4.1-0ubuntu1_amd64.deb -> precise
>>>>
>>>> aptitude search -F "%p %t %v %V" vim
>>>> aptitude search -F "%p %t %v %V" ^vim$
>>>>
>>>> apt-cache madison vim
>>>>
>>>> apt-cache policy vim
>>>>
>>>> (less obviously because you have to look at the name of the
>>>> "/var/lib/apt/lists/..._Packages" file associated with the vim
>>>> version)
>>>> apt-cache showpkg vim
>>>
>>> WOW thank you very much! I think this is what i need.
>>
>> You're welcome.
>
> I really appreciate your reply but now I need something that is independant
> from the running version of Ubuntu, do you have any idea ?

It's either held locally in "/var/lib/apt/lists/*_Packages" or in a
repository; for the UK:

http://uk.archive.ubuntu.com/ubuntu/dists/raring/{main,multiverse,restricted,universe}/binary-amd64/Packages.bz2"

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Tom H-4
In reply to this post by Oliver Grawert
On Wed, Apr 3, 2013 at 11:12 AM, Oliver Grawert <[hidden email]> wrote:
> Am Mittwoch, den 03.04.2013, 08:09 -0700 schrieb Big bang theory:
>>
>> I really appreciate your reply but now I need something that is independant
>> from the running version of Ubuntu, do you have any idea ?
>>
> have a look at grep-dctrl ...

I've just looked at its manpage. AIUI, this tool parses control files
but they don't hold this information.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Big bang theory
In reply to this post by Tom H-4
Tom H-4 wrote
It's either held locally in "/var/lib/apt/lists/*_Packages" or in a
repository; for the UK:

http://uk.archive.ubuntu.com/ubuntu/dists/raring/{main,multiverse,restricted,universe}/binary-amd64/Packages.bz2"
I've looked into those files and apparently they can be my solution but one question popped out:
the files contain only the last version for each package, aren't they?
I'll make myself clearer. Let's say that a package has more than one update in the repository precise-updates or precise-security, for example
pkg-name_version_revision1.0
and
pkg-name_version_revision1.2

In this case I won't be able to fetch the repo info for pkg-name_version_revision1.0 right? Or maybe I'm missing something
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Tom H-4
On Wed, Apr 3, 2013 at 12:28 PM, Big bang theory
<[hidden email]> wrote:

> Tom H-4 wrote
>>
>> It's either held locally in "/var/lib/apt/lists/*_Packages" or in a
>> repository; for the UK:
>>
>> http://uk.archive.ubuntu.com/ubuntu/dists/raring/{main,multiverse,restricted,universe}/binary-amd64/Packages.bz2"
>
> I've looked into those files and apparently they can be my solution but one
> question popped out:
>
> the files contain only the last version for each package, aren't they?
> I'll make myself clearer. Let's say that a package has more than one update
> in the repository precise-updates or precise-security, for example
>
> pkg-name_version_revision1.0
> and
> pkg-name_version_revision1.2
>
> In this case I won't be able to fetch the repo info for
> pkg-name_version_revision1.0 right? Or maybe I'm missing something

There'll be in different files. For example for vim in 12.10:

apt-cache policy vim
...
     2:7.3.547-4ubuntu1.1 0
        500 http://uk.archive.ubuntu.com/ubuntu/ quantal-updates/main
amd64 Packages
     2:7.3.547-4ubuntu1 0
        500 http://uk.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages

So you'd have to look at both the quantal and quantal-updates files:

quantal file >>>>
Package: vim
Priority: optional
Section: editors
Installed-Size: 2016
Maintainer: Ubuntu Developers <[hidden email]>
Original-Maintainer: Debian Vim Maintainers
<[hidden email]>
Architecture: amd64
Version: 2:7.3.547-4ubuntu1
...

quantal-updates file >>>>
Package: vim
Priority: optional
Section: editors
Installed-Size: 2016
Maintainer: Ubuntu Developers <[hidden email]>
Original-Maintainer: Debian Vim Maintainers
<[hidden email]>
Architecture: amd64
Version: 2:7.3.547-4ubuntu1.1
...

I'd never thought of this before but since the above looked like a
control file, I checked vim and fluxbox.

The entries are similar except that the "Section" field is different
for a package in universe. fluxbox has "universe/x11" in the "Section"
field of the "*Package" file and "x11" the "Section" field of the
control file.

From uk.archive.ubuntu.com_ubuntu_dists_quantal_universe_binary-amd64_Packages

Package: fluxbox
Priority: optional
Section: universe/x11
Installed-Size: 3947
Maintainer: Ubuntu Developers <[hidden email]>
Original-Maintainer: Dmitry E. Oboukhov <[hidden email]>
Architecture: amd64
Version: 1.3.2-4
Provides: x-window-manager
Depends: menu (>= 2.1.19), libc6 (>= 2.15), libfontconfig1 (>= 2.8.0),
libfribidi0 (>= 0.19.2), libgcc1 (>= 1:4.1.1), libimlib2, libstdc++6
(>= 4.6), libx11-6, libxext6, libxft2 (>> 2.1.1), libxinerama1,
libxpm4, libxrandr2, libxrender1
Recommends: xfonts-terminus, feh | eterm | hsetroot | xloadimage
Suggests: fbpager, fbdesk, fbautostart
Filename: pool/universe/f/fluxbox/fluxbox_1.3.2-4_amd64.deb
Size: 1113370
MD5sum: 03fd24b83686fc348ec1089d294ded2e
SHA1: bf75f793c238580aeed91fd0ab4371acbcdddc6e
SHA256: 45132d14e13728ae6e0578a2e38160b6471ab1cdb4b716b48f564bd83809c0cf
Description: Highly configurable and low resource X11 Window manager
Homepage: http://fluxbox.org
Description-md5: 13990cdf4dc1b2dc117250b7023f2e58
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Origin: Ubuntu

From the control file in the .deb:

Package: fluxbox
Version: 1.3.2-4
Architecture: amd64
Maintainer: Ubuntu Developers <[hidden email]>
Original-Maintainer: Dmitry E. Oboukhov <[hidden email]>
Installed-Size: 3947
Depends: menu (>= 2.1.19), libc6 (>= 2.15), libfontconfig1 (>= 2.8.0),
libfribidi0 (>= 0.19.2), libgcc1 (>= 1:4.1.1), libimlib2, libstdc++6
(>= 4.6), libx11-6, libxext6, libxft2 (>> 2.1.1), libxinerama1,
libxpm4, libxrandr2, libxrender1
Recommends: xfonts-terminus, feh | eterm | hsetroot | xloadimage
Suggests: fbpager, fbdesk, fbautostart
Provides: x-window-manager
Section: x11
Priority: optional
Homepage: http://fluxbox.org
Description: Highly configurable and low resource X11 Window manager
 Fairly similar to blackbox, from which it is derived, but has been
 extended with features such as pwm-style window tabs, configurable
 key bindings, toolbar, and an iconbar. It also includes some cosmetic
 fixes over blackbox.
 .
 This package contains support for GNOME and KDE.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Big bang theory
Tom H-4 wrote
On Wed, Apr 3, 2013 at 12:28 PM, Big bang theory
<[hidden email]> wrote:

There'll be in different files. For example for vim in 12.10:

apt-cache policy vim
...
     2:7.3.547-4ubuntu1.1 0
        500 http://uk.archive.ubuntu.com/ubuntu/ quantal-updates/main
amd64 Packages
     2:7.3.547-4ubuntu1 0
        500 http://uk.archive.ubuntu.com/ubuntu/ quantal/main amd64 Packages

So you'd have to look at both the quantal and quantal-updates files:
I've noticed a strange case with apt-cache policy

$ apt-cache policy  sudo
 *** 1.8.3p1-1ubuntu3.4 0
        500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64 Packages
        500 http://archive.ubuntu.com/ubuntu/ precise-security/main amd64 Packages
        100 /var/lib/dpkg/status
     1.8.3p1-1ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages

Why the sudo version 1.8.3p1-1ubuntu3.4 is reported in both precise-updates and precise-security??
Reply | Threaded
Open this post in threaded view
|

Re: Get update type of .deb file

Tom H-4
On Mon, Apr 22, 2013 at 7:36 AM, Big bang theory
<[hidden email]> wrote:

> Tom H-4 wrote
>> On Wed, Apr 3, 2013 at 12:28 PM, Big bang theory
>> baglio.giuseppe@ wrote:
>>
>> There'll be in different files. For example for vim in 12.10:
>>
>> apt-cache policy vim
>> ...
>>      2:7.3.547-4ubuntu1.1 0
>>         500 http://uk.archive.ubuntu.com/ubuntu/ quantal-updates/main
>> amd64 Packages
>>      2:7.3.547-4ubuntu1 0
>>         500 http://uk.archive.ubuntu.com/ubuntu/ quantal/main amd64
>> Packages
>>
>> So you'd have to look at both the quantal and quantal-updates files:
>
> I've noticed a strange case with apt-cache policy
>
> $ apt-cache policy  sudo
>  *** 1.8.3p1-1ubuntu3.4 0
>         500 http://archive.ubuntu.com/ubuntu/ precise-updates/main amd64
> Packages
>         500 http://archive.ubuntu.com/ubuntu/ precise-security/main amd64
> Packages
>         100 /var/lib/dpkg/status
>      1.8.3p1-1ubuntu3 0
>         500 http://archive.ubuntu.com/ubuntu/ precise/main amd64 Packages
>
> Why the sudo version 1.8.3p1-1ubuntu3.4 is reported in both precise-updates
> and precise-security?

I've noticed this in the past and I have no idea why.

--
ubuntu-users mailing list
[hidden email]
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users