[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Getting apt-cdrom to work



On Sb, 30 nov 13, 17:19:07, Brian Sammon wrote:
> On Sat, 30 Nov 2013 12:49:13 +0200
> Andrei POPESCU <andreimpopescu@gmail.com> wrote:
> > 
> > Could you please post the output of
> > 
> >     apt-cache policy
> >     apt-cache policy acpi
> 
> # apt-cache policy
> Package files:
>  100 /var/lib/dpkg/status
>      release a=now
>  500 ftp://ftp-nyc.osuosl.org/debian/ squeeze/non-free i386 Packages
>      release v=6.0.8,o=Debian,a=oldstable,n=squeeze,l=Debian,c=non-free
>      origin ftp-nyc.osuosl.org
>  500 ftp://ftp-nyc.osuosl.org/debian/ squeeze/contrib i386 Packages
>      release v=6.0.8,o=Debian,a=oldstable,n=squeeze,l=Debian,c=contrib
>      origin ftp-nyc.osuosl.org
>  500 ftp://ftp-nyc.osuosl.org/debian/ squeeze/main i386 Packages
>      release v=6.0.8,o=Debian,a=oldstable,n=squeeze,l=Debian,c=main
>      origin ftp-nyc.osuosl.org
>  500 http://archive.debian.org/debian-archive/debian/ lenny/main i386 Packages
>      release v=5.0.10,o=Debian,a=oldstable,n=lenny,l=Debian,c=main
>      origin archive.debian.org
>  500 http://archive.debian.org/debian-archive/debian/ etch/main i386 Packages
>      release v=4.0r9,o=Debian,a=oldstable,n=etch,l=Debian,c=main
>      origin archive.debian.org
>  500 cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 CD Binary-1 20130504-15:20]/ wheezy/main Translation-en
>  500 cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 CD Binary-1 20130504-15:20]/ wheezy/main i386 Packages
>      origin Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 CD Binary-1 20130504-15:20
> Pinned packages:

Is this a lenny, squeeze or wheezy machine? It's not a good idea to mix 
releases. Lenny is not even supported anymore.

> # apt-cache policy acpi
> acpi:
>   Installed: (none)
>   Candidate: 1.6-1
>   Version table:
>      1.6-1 0
>         500 cdrom://[Debian GNU/Linux 7.0.0 _Wheezy_ - Official i386 CD Binary-1 20130504-15:20]/ wheezy/main i386 Packages
>      1.5-2 0
>         500 ftp://ftp-nyc.osuosl.org/debian/ squeeze/main i386 Packages
>      1.1-2 0
>         500 http://archive.debian.org/debian-archive/debian/ lenny/main i386 Packages
>      0.09-1 0
>         500 http://archive.debian.org/debian-archive/debian/ etch/main i386 Packages

According to this you shouldn't need to specify the release or version, 
because apt prefers the wheezy version anyway (because it's newer).

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser
Offtopic discussions among Debian users and developers:
http://lists.alioth.debian.org/mailman/listinfo/d-community-offtopic
http://nuvreauspam.ro/gpg-transition.txt

Attachment: signature.asc
Description: Digital signature


Reply to: