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

All Gurus once were Newbies
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Please stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions prefer the other forums within the support section.
Before you post please read this

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

Postby Gandalf Olorin on Wed Jan 16, 2013 12:45 pm

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
Last edited by Gandalf Olorin on Fri Jan 18, 2013 10:48 am, edited 1 time in total.
User avatar
Gandalf Olorin
Level 1
Level 1
 
Posts: 12
Joined: Sun Jan 06, 2013 6:51 pm
Location: Houston Texas

Linux Mint is funded by ads and donations.
 

Re: APTonCD ain't working!

Postby jungle_boy on Wed Jan 16, 2013 3:23 pm

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.
LM17 Cinnamon (PC and Notebook) with AMD Catalyst
HP Pavilion g4-1316br, AMD Quad Core, 1,5 GHz, Radeon 6520G/7450M,
Image
Linuxcounter Registered User #506065 (2008)
User avatar
jungle_boy
Level 6
Level 6
 
Posts: 1216
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rain Forest, Brazil

Re: APTonCD ain't working!

Postby Gandalf Olorin on Thu Jan 17, 2013 4:08 am

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:
User avatar
Gandalf Olorin
Level 1
Level 1
 
Posts: 12
Joined: Sun Jan 06, 2013 6:51 pm
Location: Houston Texas

Re: APTonCD ain't working!

Postby jungle_boy on Thu Jan 17, 2013 7:18 am

Code: Select all
sudo apt-get update


Be connected to the internet is required.
LM17 Cinnamon (PC and Notebook) with AMD Catalyst
HP Pavilion g4-1316br, AMD Quad Core, 1,5 GHz, Radeon 6520G/7450M,
Image
Linuxcounter Registered User #506065 (2008)
User avatar
jungle_boy
Level 6
Level 6
 
Posts: 1216
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rain Forest, Brazil

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

Postby Gandalf Olorin on Fri Jan 18, 2013 10:44 am

Thanx Jungle boy! 8) that did the trick. Thanx for your help!
User avatar
Gandalf Olorin
Level 1
Level 1
 
Posts: 12
Joined: Sun Jan 06, 2013 6:51 pm
Location: Houston Texas

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

Postby jungle_boy on Fri Jan 18, 2013 3:07 pm

You are welcome.

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

Bravo for Linux!
LM17 Cinnamon (PC and Notebook) with AMD Catalyst
HP Pavilion g4-1316br, AMD Quad Core, 1,5 GHz, Radeon 6520G/7450M,
Image
Linuxcounter Registered User #506065 (2008)
User avatar
jungle_boy
Level 6
Level 6
 
Posts: 1216
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rain Forest, Brazil


Return to Newbie Questions

Who is online

Users browsing this forum: Google [Bot], tinca, Yahoo [Bot] and 23 guests