On Mon, Feb 11, 2008 at 21:45:24 +0000, Felix Karpfen wrote:
> On Sun, 10 Feb 2008 23:00:13 +0100, Florian Kulzer wrote:
> 
> >  Please post the output of:
> > 
> > grep ^Origin /var/lib/apt/lists/*_Release
> >
> 
> No output
> 
> Perhaps "ls -lt /var/lib/apt/lists" will tell you something.  It lists:
> 
> 
> total 19224
> -rw-r----- 1 root root       0 2008-01-20 21:10 lock
> drwxr-xr-x 2 root root       6 2007-06-07 11:09 partial
> -rw-r--r-- 1 root root 8563083 2007-06-07 07:29 
> Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20i386%20DVD%20Binary-3%2020070407-11:40_dists_unstable_main_binary-i386_Packages
> -rw-r--r-- 1 root root  153166 2007-06-07 07:29 
> Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20i386%20DVD%20Binary-3%2020070407-11:40_dists_unstable_contrib_binary-i386_Packages
> -rw-r--r-- 1 root root 5637840 2007-06-07 07:25 
> Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20i386%20DVD%20Binary-2%2020070407-11:40_dists_unstable_main_binary-i386_Packages
> -rw-r--r-- 1 root root   48687 2007-06-07 07:25 
> Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20i386%20DVD%20Binary-2%2020070407-11:40_dists_unstable_contrib_binary-i386_Packages
> -rw-r--r-- 1 root root 5253161 2007-06-07 07:22 
> Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20i386%20DVD%20Binary-1%2020070407-11:40_dists_unstable_main_binary-i386_Packages
> -rw-r--r-- 1 root root   18707 2007-06-07 07:22 
> Debian%20GNU_Linux%204.0%20r0%20%5fEtch%5f%20-%20Official%20i386%20DVD%20Binary-1%2020070407-11:40_dists_unstable_contrib_binary-i386_Packages

Hmm, obviously there are no Release files for the DVDs, either because
they do not exist on the DVDs themselves or because apt-cdrom does not
copy them to /var/lib/apt/lists. The "~O" match of aptitude relies on
the "Origin: ..." statement in the Release files AFAIK, so it will not
work here.

I have no idea if this is the expected behavior for DVDs (and maybe CDs
as well), because I never bother to keep the netinstall cdrom line in my
sources.list. You might have to add a Debian mirror to the sources.list
and run aptitude update if you want to make the "~O" match working. If
that computer is connected to the internet at all then you should have
the security repository included anyhow, even if you don't care about
the rest.

To address your original problem, it might be enough to search for
obsolete packages:

aptitude search '~o"

(lowercase o!)

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to