PDA

View Full Version : [ubuntu] Synaptic: Packages not authenticated



flit
May 18th, 2009, 08:20 PM
Greetings,

I got 2 Ubuntu versions, version 7.10 is offline and version 8.10 is online.
I am trying to install software offline but I am receiving
the error message that some packages are not authenticated.

I copied the files from /var/cache/apt/archive after I
executed the following command:
sudo dpkg-scanpackages . /dev/null | gzip -9c > Packages.gz

I added the line: file://home/$USER/Desktop/Archives/ /
to sources.list

I executed the commands:
sudo aptitude update
sudo apt-get update
sudo apt-get upgrade

I also tried to install the software via command line
wit the same result. [sudo apt-get install <software>]

Did I do something wrong? Can somebody help me with this issue?

Thanks in advance.

mac9416
May 18th, 2009, 10:18 PM
I don't fully understand your problem, but if you want to install software on an offline computer, Keryx (http://keryxproject.org) will do the job. :-D

EXCiD3
May 19th, 2009, 03:16 AM
Adding a repository requires a GPG authentication key. These are found on all of the online servers if you explore the dists directory on a mirror such as http://us.archive.ubuntu.com/ubuntu

These are there to help authenticate the repositories and one such as your offline repository does not have an authentication key. Its not necessary because you download the packages on a machine that trusts the repository and you are also creating the local repository yourself so, if you trust yourself (maybe its best if you don't :P) then you can just ignore this or create your own key. I'm not for sure what you need to do to create your own key and set that up unfortunately. Hopefully someone has a link to it. :)