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

Quick to answer questions about finding your way around Linux Mint as a new user.
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. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
Gandalf Olorin

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

Post 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
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 2 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
jungle_boy
Level 7
Level 7
Posts: 1812
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rainforest

Re: APTonCD ain't working!

Post 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.
Samsung Odyssey, Octa-core, i5 9300H, Geforce GTX 1650, 16GB RAM, SSD SAMSUNG NVMe 500GB
LM 21 Cinnamon
Gandalf Olorin

Re: APTonCD ain't working!

Post 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:
User avatar
jungle_boy
Level 7
Level 7
Posts: 1812
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rainforest

Re: APTonCD ain't working!

Post by jungle_boy »

Code: Select all

sudo apt-get update

Be connected to the internet is required.
Samsung Odyssey, Octa-core, i5 9300H, Geforce GTX 1650, 16GB RAM, SSD SAMSUNG NVMe 500GB
LM 21 Cinnamon
Gandalf Olorin

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

Post by Gandalf Olorin »

Thanx Jungle boy! 8) that did the trick. Thanx for your help!
User avatar
jungle_boy
Level 7
Level 7
Posts: 1812
Joined: Thu Aug 19, 2010 2:51 pm
Location: Amazon Rainforest

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

Post by jungle_boy »

You are welcome.

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

Bravo for Linux!
Samsung Odyssey, Octa-core, i5 9300H, Geforce GTX 1650, 16GB RAM, SSD SAMSUNG NVMe 500GB
LM 21 Cinnamon
Locked

Return to “Beginner Questions”