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

Re: Local Package Repository and Upgrading.



2005/11/3, alrenaud@swissinfo.org <alrenaud@swissinfo.org>:
> I created a Debian Repository in /usr/src/rpm/DebPack/
> with:
>
> dpkg-scanpackages /usr/src/rpm/DebPack/ override | gzip > /usr/src/rpm/DebPack/Packages.gz
> and added
>            deb file:/usr/src/rpm DebPack/   to  /etc/apt/sources.list
>
> I downloaded libc6,libc6-dev,locales  ...ds1-22 release
> to upgrade from ...ds1-21 to ...ds1-22.
>
> aptitude recognizes the three packages and it created
> a line for upgradable packages,but when I want to
> proceed to install the packages,aptitude warns:
>
> file: DebPack/ libc6-dev_2.3.2.ds1-22 [Error] File not found
> file: DebPack/ libc6_2.3.2.ds1-22 [Error] File not found
> file: DebPack/ locales_2.3.2.ds1-22 [Error] File not found

Your problem should become clearer if you test your upgrade first by
using "apt-get upgrade -d" rather than aptitude.  The "-d" option is
to make apt-get " Download only" and "NOT install or unpack" the
packages.

I strongly suspect that your "Packages.gz" has the wrong relative
paths (in relation to the location of the actual *.deb packages).

--
Albert Einstein: Phantasie ist wichtiger als Wissen, denn Wissen ist begrenzt.



Reply to: