Нужно удалить устаревшие и ненужные пакеты:
sudo apt-get autoclean; sudo apt-get autoremove
df /
Посмотрите свободное место, если считаете, что его недостаточно, удалить все пакеты из кеша, в том числе уже скачавшиеся
sudo apt-get clean
Посмотрите какие программы ненужны, может быть их тоже проще удалить, не может же быть 11 гигов полезных приложений)
Можно установить ncdu
sudo apt-get install ncdu
проверить, что лежит в самых жирных каталогах, особенно проверить /opt, удалять лучше через пакетный менеджер: sudo apt-get remove …
ncdu / -x
Другой вариант, не удаляя установленных программ — обновлять пакеты по-одному.
Пользователь добавил сообщение 16 Октября 2016, 19:24:51:
После того как почистите диск, запустите:
sudo apt-get -f install; sudo apt-get update; sudo apt-get upgrade
Не знаю сколько места потребуется, зависит от того, сколько времени не обновляли систему. При ежедневном обновлении хватает 100-200М, в вашем случае 740M оказалось недостаточно…
Возможный дубликат:
Не удается установить программное обеспечение из Центра программного обеспечения из-за ошибки пакета ttf-mscorefonts-installer
Я пытался установить некоторые приложения, такие как Skype и Windows, но постоянно появляется одно и то же сообщение об ошибке.
Кажется, в aptdaemon, программной ошибке, которая позволяет вам устанавливать / удалять программное обеспечение и выполнять другие задачи, связанные с управлением пакетами, возникает ошибка программирования.
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 968, in simulate
trans.unauthenticated = self._simulate_helper(trans)
File "/usr/lib/python2.7/dist-packages/aptdaemon/worker.py", line 1092, in _simulate_helper
return depends, self._cache.required_download, \
File "/usr/lib/python2.7/dist-packages/apt/cache.py", line 235, in required_download
pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn't able to locate a file for the ttf-mscorefonts-installer package.
Это может означать, что вам нужно вручную исправить этот пакет.
Я новичок в Ubuntu и не могу это исправить. Я пытался найти похожие вопросы, но не смог это исправить.
2012-02-05 13:06
1
ответ
Это похоже на ошибку:
E: Я не смог найти файл для пакета ttf-mscorefonts-installer.
Попробуйте сначала перенастроить распакованные пакеты.
sudo dpkg --configure -a
А затем установите его:
sudo aptitude install ttf-mscorefonts-installer
2012-02-06 09:44
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
-
dileo65
error in program aptdaemon message when installing applications
I installed Linux Mint xfe, latest version on an old laptop. (a real Linux newbie )
I can’t install eg Opera browser (and some other programs) because of error in the program aptdaemon.
Anyone a clue.
Other Programs eg. teamviewer show no problems
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
-
dileo65
Re: error in program aptdaemon message when installing applications
Post
by dileo65 »
for Joe … and other helpers
detail text with this error window message:
org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
-
dileo65
Re: error in program aptdaemon message when installing applications
Post
by dileo65 »
Well, it seems this version isn’t running that stable on my laptop.
It looks the connection gets lost with authorization for installing applications.
It happens randomly, so if you get the windowbox to enter the password, the program is installed, if not, a reboot is required and hopefully in the retry it asks for the user password.
-
gm10
Re: error in program aptdaemon message when installing applications
Post
by gm10 »
Weird, never heard of such a problem. Is that a multi-user environment where another user might be using the service at the same time? aptdaemon is kinda bad but it should be functional. Instead of rebooting, in a terminal window try reloading the daemon when it happens again:
-
dorsetUK
- Level 5
- Posts: 907
- Joined: Thu Sep 19, 2019 4:40 am
Re: error in program aptdaemon message when installing applications
Post
by dorsetUK »
Hi, trying to install Opera and I got the same error.
Code: Select all
jon@jon-AOD255:~$ sudo aptd -r
[sudo] password for jon:
18:47:23 AptDaemon [INFO]: Initializing daemon
18:47:23 AptDaemon [WARNING]: Replacing already running daemon
/usr/lib/python3/dist-packages/aptdaemon/worker/pkworker.py:35: PyGIWarning: PackageKitGlib was imported without specifying a version first. Use gi.require_version('PackageKitGlib', '1.0') before import to ensure that the right version gets loaded.
from gi.repository import PackageKitGlib as pk
18:57:26 AptDaemon [INFO]: Quitting due to inactivity
18:57:28 AptDaemon [INFO]: Quitting was requested
Just a little beyond me.
A hopeful Jon.
Sorry — single user and the only other thing running was Firefox 69 0 1.
Thanks.
-
gm10
Re: error in program aptdaemon message when installing applications
Post
by gm10 »
That output shows that the daemon was running and you successfully replaced it with a new instance. I have no idea why that would not be working then unless you are running some additional software blocking the connection like anti-virus software, or maybe you played around with Firejail or AppArmor? If it’s none of that then I don’t have an answer for you right now, sorry.
As a workaround you can install via Synaptic Package Manager or the command line though:
-
gm10
Re: error in program aptdaemon message when installing applications
Post
by gm10 »
dorsetUK wrote: ⤴Mon Sep 30, 2019 3:23 pm
Could it be an Opera problem?
I cannot see how that could be related unless you did something strange to add the repository (Opera isn’t in the official repository, in fact I’m surprised you are trying to install it via Software Manager when usually you would download a .deb package from opera.com to install), but even then this should not happen.
-
dileo65
Re: error in program aptdaemon message when installing applications
Post
by dileo65 »
thanks guys, for getting in the error issue.
its a single user enviroment and the laptop is used for some browsing and controlling the music-server
so far, the error comes with installing new software and no «user-password popup window» comes up to authorize the installation.
I will use the reset command instead of rebooting the system
-
dorsetUK
- Level 5
- Posts: 907
- Joined: Thu Sep 19, 2019 4:40 am
Re: error in program aptdaemon message when installing applications
Post
by dorsetUK »
Morning from the Dis-uk.
Code: Select all
jon@jon-AOD255:~$ inxi -F
System:
Host: jon-AOD255 Kernel: 5.0.0-29-generic x86_64 bits: 64
Desktop: Xfce 4.12.3 Distro: Linux Mint 19.2 Tina
So far as I remember, apart from the kernel, this is an unaltered — vanilla? — install.
After a reboot I downloaded Opera again from https://www.opera.com/features/free-vpn
set to ‘open with GDebi package installer’ and got the same error.
Code: Select all
An unhandled error occured
There seems to be a programming error in aptdaemon. This is the software that allows you to install/remove software and to perform other package management related tasks.
org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
As I’m only playing with this laptop, are there any tests I can run, as even if they were to break things, I wouldn’t be worried.
An experimental Jon.
-
gm10
Re: error in program aptdaemon message when installing applications
Post
by gm10 »
dorsetUK wrote: ⤴Tue Oct 01, 2019 4:39 amare there any tests I can run,
Sure, for I have no clear idea of what’s wrong. First run this to reinstall the involved components and reboot :
Code: Select all
apt install --reinstall aptdaemon python3-aptdaemon dbus
After the reboot, see if you still get the same error. If yes, does this produce the same error?
If yes, does this as well?
Code: Select all
busctl call org.freedesktop.login1 /org/freedesktop/login1 org.freedesktop.login1.Manager CanHibernate
If still yes, post the output of these:
Code: Select all
systemctl status dbus
busctl status org.debian.apt
python3 --version
Otherwise try to install something using aptdaemon via the command line:
Did that work?
-
dorsetUK
- Level 5
- Posts: 907
- Joined: Thu Sep 19, 2019 4:40 am
Re: error in program aptdaemon message when installing applications
Post
by dorsetUK »
Thanks for your reply gm10.
gm10 wrote: ⤴Tue Oct 01, 2019 10:20 am
dorsetUK wrote: ⤴Tue Oct 01, 2019 4:39 amare there any tests I can run,
Sure, for I have no clear idea of what’s wrong. First run this to reinstall the involved components and reboot :
Code: Select all
apt install --reinstall aptdaemon python3-aptdaemon dbus
After the reboot, see if you still get the same error.
I’ve done that, and now GDebi installer says —
Code: Select all
Dialogue box says - Package file could not be opened
Please copy the file to your local computer and check the file
permissions.
Clicking on the little triangle says -
tmp/mozilla_jon0/opera-stable_63.0.3368.94_amd64.deb
Thanks again, but I think it’s best if I stop and wait for further advice.
An appreciative Jon
-
gm10
Re: error in program aptdaemon message when installing applications
Post
by gm10 »
dorsetUK wrote: ⤴Tue Oct 01, 2019 11:02 am
Thanks again, but I think it’s best if I stop and wait for further advice.
Sure, that was the idea. Ok, so reinstalling those packages changed the behaviour, indicating that something was indeed wrong with the installed files on your system originally.
As to the error message, I suppose that’s either a corrupt download or you’re running something like Firejail after all. Let’s take the browser out of the equation:
Code: Select all
wget https://download3.operacdn.com/pub/opera/desktop/63.0.3368.94/linux/opera-stable_63.0.3368.94_amd64.deb
gdebi-gtk opera-stable_63.0.3368.94_amd64.deb
Same error or does this work?
-
dorsetUK
- Level 5
- Posts: 907
- Joined: Thu Sep 19, 2019 4:40 am
Re: error in program aptdaemon message when installing applications
Post
by dorsetUK »
Thanks gm10 but GDebi resorts to this, again.
Code: Select all
An unhandled error occured
There seems to be a programming error in aptdaemon. This is the software that allows you to install/remove software and to perform other package management related tasks.
Further Info.
org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
I can’t remember if I had to do this before but when I went to close GDebi it had frozen and I had to use Task Master to kill it.
Jon
-
gm10
Re: error in program aptdaemon message when installing applications
Post
by gm10 »
Yes, that means that dbus works and that aptdaemon does too, in principle.
Try the last step then, install a package using aptdaemon via the command line:
If it fails, are you getting the authentication popup or does it fail before that already?
PS: I will be offline for a few hours so take your time.
-
dorsetUK
- Level 5
- Posts: 907
- Joined: Thu Sep 19, 2019 4:40 am
Re: error in program aptdaemon message when installing applications
Post
by dorsetUK »
gm10 wrote: ⤴Tue Oct 01, 2019 12:02 pm
PS: I will be offline for a few hours so take your time.
Code: Select all
jon@jon-AOD255:~$ aptdcon -i zzuf
The following NEW package will be installed (1):
zzuf
Need to get 59.7KB of archives.
After this operation, 182.0KB of additional disk space will be used.
Do you want to continue [Y/n]?y
Selecting previously unselected package zzuf.
(Reading database ... 289878 files and directories currently installed.)
Preparing to unpack .../archives/zzuf_0.15-1_amd64.deb ...
Unpacking zzuf (0.15-1) ...
Setting up zzuf (0.15-1) ...
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
/usr/lib/python3/dist-packages/aptdaemon/console.py:337: Warning: Source ID 24 was not found when attempting to remove it
GLib.source_remove(wid)
/usr/lib/python3/dist-packages/aptdaemon/console.py:337: Warning: Source ID 25 was not found when attempting to remove it
GLib.source_remove(wid)
[+] 100% Successful
I had to verify, and now it’s my teatime.
A hungry Jon.
Код: Выделить всё
evgeny@evgeny-pc:~$ inxi -Fxz
System: Host: evgeny-pc Kernel: 4.15.0-30-generic x86_64
bits: 64 gcc: 7.3.0
Desktop: MATE 1.20.1 (Gtk 3.22.30-1ubuntu1)
Distro: Linux Mint 19 Tara
Machine: Device: laptop System: Acer product: AOD260 v: V1.01 serial: N/A
Mobo: Acer model: AOD260 v: V1.01 serial: N/A
BIOS: Acer v: V1.01 date: 04/28/2010
Battery BAT0: charge: 31.3 Wh 100.0% condition: 31.3/48.8 Wh (64%)
model: SANYO AL10B31 status: Full
CPU: Single core Intel Atom N450 (-MT-)
arch: Bonnell rev.10 cache: 512 KB
flags: (lm nx sse sse2 sse3 ssse3) bmips: 3325
clock speeds: max: 1666 MHz 1: 1139 MHz 2: 1120 MHz
Graphics: Card: Intel Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
bus-ID: 00:02.0
Display Server: x11 (X.Org 1.19.6 )
drivers: intel (unloaded: modesetting,fbdev,vesa)
Resolution: 1024x600@60.03hz
OpenGL: renderer: Mesa DRI Intel Pineview M
version: 1.4 Mesa 18.0.5 Direct Render: Yes
Audio: Card Intel NM10/ICH7 Family High Def. Audio Controller
driver: snd_hda_intel bus-ID: 00:1b.0
Sound: Advanced Linux Sound Architecture v: k4.15.0-30-generic
Network: Card-1: Qualcomm Atheros AR8132 Fast Ethernet
driver: atl1c v: 1.0.1.1-NAPI port: 5000 bus-ID: 01:00.0
IF: enp1s0 state: down mac: <filter>
Card-2: Qualcomm Atheros AR9285 Wireless Network Adapter (PCI-Express)
driver: ath9k bus-ID: 02:00.0
IF: wlp2s0 state: up mac: <filter>
Drives: HDD Total Size: 160.0GB (5.2% used)
ID-1: /dev/sda model: WDC_WD1600BEVT size: 160.0GB
Partition: ID-1: / size: 28G used: 5.7G (22%) fs: ext4 dev: /dev/sda1
ID-2: /home size: 117G used: 226M (1%) fs: ext4 dev: /dev/sda3
ID-3: swap-1 size: 2.05GB used: 0.00GB (0%)
fs: swap dev: /dev/sda2
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 37.0C mobo: N/A
Fan Speeds (in rpm): cpu: N/A
Info: Processes: 149 Uptime: 5 min Memory: 388.3/975.0MB
Init: systemd runlevel: 5 Gcc sys: 7.3.0
Client: Shell (bash 4.4.191) inxi: 2.3.56
Доброго времени суток!
После установки LM19 возникла проблема с Gdebi. При установке пакета, любого пишет следующую ошибку:
Судя по всему, в aptdaemon, программном обеспечении, позволяющем вам устанавливать/удалять программы и выполнять связанные с пакетами задачи, присутствует программная ошибка.
org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
Вопрос, что можно сделать.
Спасибо
- Forum
- The Ubuntu Forum Community
- Ubuntu Official Flavours Support
- General Help
- [ubuntu] Aptdaemon error when installing/uninstalling software.
-
Aptdaemon error when installing/uninstalling software.
Whenever I try to remove/add software, I get the following error :
There seems to be a programming error in aptdaemon, the software that allows you to install/remove software and to perform other package management related tasks.
Details :
Traceback (most recent call last):
File «/usr/lib/python2.7/dist-packages/aptdaemon/worker.py», line 961, in simulate
trans.unauthenticated = self._simulate_helper(trans)
File «/usr/lib/python2.7/dist-packages/aptdaemon/worker.py», line 1085, in _simulate_helper
return depends, self._cache.required_download, \
File «/usr/lib/python2.7/dist-packages/apt/cache.py», line 226, in required_download
pm.get_archives(fetcher, self._list, self._records)
SystemError: E:I wasn’t able to locate file for the sun-java6-jre package. This might mean you need to manually fix this package.I am totally new to Linux, I tried searching to find a fix, but everybody seems to have different problems/solutions for aptdaemon problems, so I really don’t know what to do…
Thanks!
-
Re: Aptdaemon error when installing/uninstalling software.
Try this in terminal:
Code:
dpkg --configure -a
You might need to run that with root privileges (can’t remember). If so, just use this:
Code:
sudo dpkg --configure -a
-
Re: Aptdaemon error when installing/uninstalling software.
I did it, it seemed to work fine (it didn’t return any error message, just brought me back to the prompt), but I still have the exam same problem. Did I do something wrong? Was I supposed to be brought to some sort of configuration panel where I could have fixed it?
-
Re: Aptdaemon error when installing/uninstalling software.
No, you did it right. I guess that wasn’t the problem.
-
Re: Aptdaemon error when installing/uninstalling software.
Anybody else?
-
Re: Aptdaemon error when installing/uninstalling software.
Try this on a terminal with root permissions:
apt-update
apt-upgradeI’ve already experienced some problems when installing/uninstalling software. I solved it after making a general system upgrade.
Maybe there were wrong package versions «trying» to work together.
Good luck!
regards,
RSM
-
Re: Aptdaemon error when installing/uninstalling software.
Are you working on a different shell than BASH? It doesn’t found the command, and when I enter apt and type tab twice, it lists all the commands that start by apt, and there’s nothing like upgrade or update…
-
Re: Aptdaemon error when installing/uninstalling software.
Sorry, my mistake! Correct commands are:
apt-get update
apt-get upgraderegards,
RSM
-
Re: Aptdaemon error when installing/uninstalling software.
Thanks a lot, that worked!
Last edited by thierrym89; October 5th, 2011 at 01:14 AM.
-
Re: Aptdaemon error when installing/uninstalling software.
You welcome!!
I’m glad I could help you!
Regards,
RSM