Page 1 of 1

APTonCD ain't working! <Solved!!!>

Posted: Wed Jan 16, 2013 12:45 pm
by Gandalf Olorin
I've Manage to backup my packeges on DVD, but when I try to restore them, the program
wont read the DVD. TheDVD shows up on the desktop, and if you click on it it will show the files/folders
on the disc.

Here's the error(s) I get:

E: Unable to stat the mount point /media/cdrom/ - stat (2: No such file or directory)
E: Unable to stat the mount point /media/cdrom/ - stat (2: No such file or directory)
E: Failed to mount the cdrom.
Here' what the terminal says:

raceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/APTonCD/restore/restoreWindow.py", line 205, in on_btnLoadFrom
bus = dbus_helper.DeviceList()
File "/usr/lib/python2.7/dist-packages/APTonCD/core/dbus_helper.py", line 26, in __init__
self.hal_object = self.bus.get_object('org.freedesktop.Hal', '/org/freedesktop/Hal/Manager')
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 241, in get_object
follow_name_owner_changes=follow_name_owner_changes)
File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 248, in __init__
self._named_service = conn.activate_name_owner(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 180, in activate_name_owner
self.start_service_by_name(bus_name)
File "/usr/lib/python2.7/dist-packages/dbus/bus.py", line 278, in start_service_by_name
'su', (bus_name, flags)))
File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 651, in call_blocking
message, timeout)
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Hal was not provided by any .service files

(synaptic:2655): GLib-GObject-CRITICAL **: g_object_set_data: assertion `G_IS_OBJECT (object)' failed

(synaptic:2655): GLib-GObject-WARNING **: invalid (NULL) pointer instance

(synaptic:2655): GLib-GObject-CRITICAL **: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed

I Haven' the slightest idea what the above means.
Thanx for any help

Re: APTonCD ain't working!

Posted: Wed Jan 16, 2013 3:23 pm
by jungle_boy
1- Create a archives directory on /home/your_user_name

2- Copy all your packages to archives directory (created by you)

3 Open a terminal:

Code: Select all

sudo su
cd /var/cache/apt
rm -r archives
cd /home/your_user_name
mv archives /var/cache/apt 
Wait; close and update.

Your packages will be in /var/cache/apt/archives, where apt download and read Linuxmint packages.

Re: APTonCD ain't working!

Posted: Thu Jan 17, 2013 4:08 am
by Gandalf Olorin
jungle_boy wrote:1- Create a archives directory on /home/your_user_name

2- Copy all your packages to archives directory (created by you)

3 Open a terminal:

Code: Select all

sudo su
cd /var/cache/apt
rm -r archives
cd /home/your_user_name
mv archives /var/cache/apt 
Wait; close and update.

Your packages will be in /var/cache/apt/archives, where apt download and read Linuxmint packages.
Maybe I'm dense, How do I update? I've tried everything but nothing happens. :evil:

Re: APTonCD ain't working!

Posted: Thu Jan 17, 2013 7:18 am
by jungle_boy

Code: Select all

sudo apt-get update

Be connected to the internet is required.

Re: APTonCD ain't working! <Solved!!!>

Posted: Fri Jan 18, 2013 10:44 am
by Gandalf Olorin
Thanx Jungle boy! 8) that did the trick. Thanx for your help!

Re: APTonCD ain't working! <Solved!!!>

Posted: Fri Jan 18, 2013 3:07 pm
by jungle_boy
You are welcome.

I'm glad to be able to help you fix the problem.

Bravo for Linux!