I have a Local repository as instructed in this tutorial . It is a trusted repository, so no "Authentication errors" are there. I've tested it with synaptic
and apt-get
.
I was being able to use this with Lucid, Natty, and Oneiric.
But I don't want to install synaptic every time, I install Ubuntu (since synaptic is removed from default Live CD since Oneiric).
The problem is : "Ubuntu Software Center" does not install packages from local repository. The install button is greyed out. It installs packages only when I connect to the Internet and for some unknown reason it re-downloads (sometimes) the packages which are also in my Local repository.
My question is: How can I use Software-Center to install packages from local repository without connecting to the internet?
Note:
I have placed my local apt line to the top of the sources.list file and installing from apt-get
does not require connecting to the internet
Here is the output of command from apt-get
:
anwar@Ubuntu:~$ sudo apt-get install nautilus-wipe --print-uris [sudo] password for anwar: Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: nautilus-wipe 0 upgraded, 1 newly installed, 0 to remove and 131 not upgraded. Need to get 0 B/30.7 kB of archives. After this operation, 150 kB of additional disk space will be used. 'file:/media/Main/Linux-Software/Ubuntu/Precise/./precise-debs/nautilus-wipe_0.1.1-2_i386.deb' nautilus-wipe_0.1.1-2_i386.deb 30730 MD5Sum:7d497b8dfcefe1c0b51a45f3b0466994
It is okay with the local copy.
Ubuntu Software Center is not happy with the local copy,It always tries to connect to the internet first
And when I am not connected to Internet, The install button is grayed out.
Why is this happening?