Ubuntu Software Center does not installing packages from Local repository

Bug #1014277 reported by Mohammad Anwar Shah
20
This bug affects 3 people
Affects Status Importance Assigned to Milestone
software-center (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Ubuntu software center is not able to install packages from local repository as this question in AskUbuntu.com suggests:
Link http://askubuntu.com/q/137426/61218

I have a Local repository, created to avoid re-downloading of packages. It is a trusted repository, so no "Authentication errors" are there. I've tested it with synaptic and apt-get.

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 the packages which are also in my Local repository.

My question is: How can I use Software-Center to install packages from local repository ?

Note: I have placed my local apt line to the top of the sources.list file and installing from `apt-get` do not require re-downloading for the same packages.

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. The install button is grayed out. Why? http://i.stack.imgur.com/nNlYj.png

It may save time to fix bug 926763 at the same time as this bug.

description: updated
tags: added: installation software
Revision history for this message
Eliah Kagan (degeneracypressure) wrote :

In a Terminal window, please run this command, which will automatically add important technical information to this bug report:

apport-collect 1014277

In the future, if you report bugs with Apport (for example, by running "ubuntu-bug" with the package name or running process PID), this information (and sometimes even more valuable information) will be automatically included. See https://help.ubuntu.com/community/ReportingBugs for more information on bug reporting best practices.

Revision history for this message
Gary Lasker (gary-lasker) wrote :

Hi Mohammed, and thank you for your report. So, as I understand it, the issue is that you want to be able to install packages using Software Center while you are not connected to the Internet, is that correct? In other words, your Internet connection is disabled at the time you try the install, and the "Install" button is disabled. If this is the case, then this bug is a duplicate of bug 911706. I will mark it as such, but please feel free to comment here if you feel this is not a duplicate of that bug. Otherwise, please add any additional info to bug 911706, and follow that one for the status of a fix.

Many thanks!

Revision history for this message
Matthew Paul Thomas (mpt) wrote :

I'm fairly sure this isn't a duplicate of bug 911706. Bug 911706 is not about computers that aren't connected to the Internet; it is about computers that are connected to the Internet without using Network Manager.

Judging from the linked tutorial, the fix for this bug is to enable the "Install" command not just if there's an Internet connection, but also if there isn't an Internet connection but the selected package is from a file:/// repository.

description: updated
Changed in software-center (Ubuntu):
status: New → Confirmed
importance: Undecided → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.