Re: Problem installing local package



Edward C. Jones wrote:
I am installing Debian on a new hard drive I bought. I have a PC with
an AMD Athlon 64 3500+ chip. I installed Debian stable (4.0) amd64
port. I updated it to unstable. I put "xv-doc_3.10a-1duo1_all.deb" and
"xv_3.10a-1duo+etch1_amd64.deb" into "/usr/local/src/debian". The file
/etc/apt/sources.list contains the line:

deb file:/usr/local/src/ debian/

"apt-get install xv" failed. Does anyone know what I did wrong?

If all you want to do is install two packages, why not just run

dpkg -i <package_file>

on each?

To make your own local package repository, you need to do more than just
specify the path to some .deb files in your sources.list. The
repository itself has a structure that must be adhered to for apt to
work properly. For example, check out http://http.us.debian.org/debian/
in your web browser. There are tools out there that'll let you build
your own repository, but I've given you about the extent of my knowledge
on the subject.

--John



--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • Re: Gaim problems
    ... and those packages were removed from the ... debian repository. ... You can look for them from a third-party repository ... > with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Update all the packages that depend on a particular package
    ... The -i option is not documented in the xargs man page. ... of 'apt-get install' is a bit different. ... The following packages will be REMOVED: ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Is Etch Stable is really stable?
    ... each of the debs in your apt cache and verify them. ... fail prior to bundling them into your own repository. ... packages, how do I extract the ones for the packages I have? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
    (Debian-User)
  • Re: Debian Repository Question
    ... I have a question about the way packages are handled in Debian. ... *I have a Package Z that has a dependency on a "Package X Version Y1" in the Repository. ... We are using OpenVZ for virtualization which uses EZ-Templates to create OS-Template-Caches (ie Debian). ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)
  • Re: Is Etch Stable is really stable?
    ... each of the debs in your apt cache and verify them. ... fail prior to bundling them into your own repository. ... packages, how do I extract the ones for the packages I have? ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". ...
    (Debian-User)