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

Re: dpkg can't access deb packages in archives



Good morning.


* Haines Brown <brownh@hartford-hwp.com> [040822 03:11]:

> However, when it comes chroot running dpkg-reconfigure on
> console-data, the package turns out not to be installed. Although
> debootstrap checked and validated the package (and its two related
> packages), it did not extract and install it.  

Don't know about debootstrap, but:


>   :/# dpkg -l console-data
>   No packages found matching console-data.    

Thats correct. dpkg -l lists only installed packages.
To search uninstalled packages you can use e.g. »apt-cache search ...«.


>   :/# dpkg -i console-data
>   dpkg: error processing console-data (--install):
>         cannot access archive: No such file or directory
>   Errors were encountered while processing:
>         console-data

Thats correct, too. If you use dpkg -i you need to give filename (and
full path) as parameter. »dpkg -i ....« should work, but dpkg won't
install dependencies. Please use »apt-get install <packagename>« where
you won't need to suply full path and filename and which will install
dependencies.

Yours sincerely,
  Alexander

Attachment: signature.asc
Description: Digital signature


Reply to: