installing packages from file: Synaptic APTonCD
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
APT |
Incomplete
|
Undecided
|
Unassigned | ||
cdrom-detect |
New
|
Undecided
|
Unassigned | ||
synaptic |
New
|
Undecided
|
Unassigned |
Bug Description
This is about :
Synaptic
APTonCD
"E: Cannot find filename or size tag"
“E:Failed to mount the cdrom"
“E: Malformed line 54 in source list /etc/apt/
System: Ubuntu 10.04.3 LTS
Release: 10.04
Lucid Lynx
There seems to be an unsolved problem with transferring .deb packages on removable media from one machine to another, although it has been declared as solved in several reports. The suggested solutions in #46846, bug #159721, bug #159721, bug #268673 do not work.
I have tried to copy from Internet downloaded packages from one well working machine (Lucid) to another one, which was just freshly installed with the Lucid installation DVD but has no internet connection.
As APTonCD is not part of the standard installation (why not?) the APTonCD packages had to be copied and installed by hand and GDebi to the second machine, including all dependencies. That has worked, but is for sure not a proper solution.
Than creating a CD with APTonCD and copy the packages to /var/cache/
Now I would expect Synaptic to show the copied programs (they were many, the entire content of the archives folder from the source machine) as “local origin” after Synaptic Reload. That has not worked, even not when unchecking the http sources from the package resources. How can I urge Synaptic to install packages from the /var/cache/
The next try was to add the APT CD under “other software > ADD” in the software sources”. That also failed and ended up in “E:Failed to mount the cdrom”, although the CD was mounted and recognized by the file manager. I have the impression that the problem is the communication between CD and Synaptic.
The next try was to copy all the packages into a folder created in the home directory, using the command “dpkg-scanpackages” and a “Packages.gz” file was created successfully. However, adding that to the repository list by the “other software > ADD” option fails. The correct syntax to be used for files to be added is even very unclear, I found nothing in detail in the documentation, so I have tried several variants like this one: “deb file://home/path to the folder.... lucid” .It ends always in a series of messages:
E: Malformed line 55 in source list /etc/apt/
E: Unable to lock the list directory
E: Malformed line 55 in source list /etc/apt/
E: The list of sources could not be read.
Go to the repository dialogue to correct the problem.
E: _cache->open() failed, please report.
please report... that’s what I am doing right now!
Synaptic and APTonCD are very fine and perfectly working,... as long as you are connected to the Internet. Here, in the middle of the African bush we have - on good days - download rates of about 3 kB/s, so file transfer on removable media is the only way to set up a new computer.
Other problems around this:
The in transparent way how Synaptic is doing the “Reload”. I have experienced, when I deselect the “Ubuntu Software” options in the “Software Sources” in order to force installation from file and not from Internet, and I click “Reload”, it deletes obviously all the content of the “Ubuntu Software” but not showing the not installed content of the cache. I have to download it again what may take hours here. In what file is that “Reload” saved, that it may be copied before and pasted later, in order to avoid extra Reload.
Another issue is, what is going on in the /var/cache/
The documentation of Synaptic, APTonCD, and Lucid manual are not so very detailed as I could find a solution there, an intensive launchpad research is difficult for me with the weak Internet, what I have found there did not help me. So, what to do?
related bugs:
Ubuntu> Questions> Question #46846
“E:Failed to mount the cdrom"
Bug #159721 reported by ivan on 2007-11-03 (Activity log)
“E: Cannot find filename or size tag”
Solved Solved Question #36719, asked on 2008-06-19
"Cannot find filename or size tag"
Bug #268673 reported by Bimal J Rekhadiya on 2008-09-10 (Activity log)
"E: Cannot find filename or size tag"
Ubuntu Forums HOWTO : Solve AptOnCD error - September 13th, 2008
"E: Cannot find filename or size tag"
Ubuntu>synapticp package>
“E: Malformed line 54 in source list /etc/apt/
#579110 is related, the difference is: I cannot mount any removable media at all !!!
Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https:/ /wiki.ubuntu. com/Bugs/ FindRightPackag e . I have classified this bug as a bug in APTonCD.
Please also execute the following command, as it will automatically gather debugging information, in a terminal:
apport-collect 841881
When reporting bugs in the future please use apport by using 'ubuntu-bug' and the name of the package affected. You can learn more about this functionality at https:/ /help.ubuntu. com/community/ ReportingBugs.