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

Re: install local deb file

On Tue, Nov 04, 2003 at 07:58:20AM -0500, Haines Brown wrote:
>   # cd /storage/debs  // went to place where the .debs file is located  
>   # ls                // I see listed libdb1-compat_2.1.3-7_i386.deb 
> 		      // and libc6_2.3.2-9_i386.deb 
>   # apt-get update    
>   Ign file: debs/ Release   // Is this a problem?
>   ...
>   # apt-get install libdb1-compat
>   Reading Package Lists... Done
>   Building Dependency Tree
>   The following extra packages will be installed:
>       libc6
>   The following NEW packages will be installed:
>       libdb1-compat
>   1 packages upgraded, 1 newly installed, 0 to remove and 0 not
> 	     upgraded.
>   Need to get 0B/3761kB of archives. After unpacking 160kB will be
> 	     used.
>   Do you want to continue? [Y/n]  // I continue
>   Err file: debs/ libdb1-compat 2.1.3-7
>       File not found
>   Err file: debs/ libc6 2.3.2-9
>       File not found

I think your Packages file is screwy. Can you please post:

  * the contents of /etc/apt/sources.list;

  * the first block of text from /storage/debs/Packages or
    /storage/debs/Packages.gz or whatever?

My feeling is that the Packages file has been generated with the wrong
paths, which should be relatively easy to fix.

> The above suggests that apt is able to access the directory, see the
> files it, but not access them. The files are owned by user, but the
> command is run by root, so ownership not an issue. The files are
> -rw-------. I assume they need only be readable. 

The errors say "file not found", not "permission denied". Therefore apt
is looking in the wrong place.


Colin Watson                                  [cjwatson@flatline.org.uk]

Reply to: