Hi all, every time I try to install something like 'Hardinfo' using 'apt install foo', I get the following error message "Sub-process /usr/bin/dpkg returned an error code (1)".
Any idea what this means & how overcome this message?
Running Debian 12.7 KDE DE.
Thanks
Unable to install apps
- dilberts_left_nut
- Administrator
- Posts: 5441
- Joined: 2009-10-05 07:54
- Location: enzed
- Has thanked: 20 times
- Been thanked: 87 times
Re: Unable to install apps
It means something is wrong.
If you fix what is wrong you will overcome the message.
If you fix what is wrong you will overcome the message.
AdrianTM wrote:There's no hacker in my grandma...
- kc1di
- Posts: 302
- Joined: 2007-03-12 12:52
- Location: Somewhere In Maine
- Has thanked: 5 times
- Been thanked: 20 times
Re: Unable to install apps
Most of the time you get that message when you have a broken install of a package you can try this command and see if it clears it.
sudo dpkg --configure -a
Dave
Morse Code -An Early digital mode !
Bookworm
John 3:16
Registered Linux User # 462608
Morse Code -An Early digital mode !
Bookworm
John 3:16
Registered Linux User # 462608
- sunrat
- Site admin
- Posts: 7336
- Joined: 2006-08-29 09:12
- Location: Melbourne, Australia
- Has thanked: 130 times
- Been thanked: 642 times
Re: Unable to install apps
It is more helpful to post, in code tags, the exact contents of the terminal including command and errors rather than paraphrasing. Error code 1 just means it failed.
If you tried
If you tried
apt install Hardinfo
it won't work because the package is called hardinfo, no upper case.“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
Those who have lost data
...and those who have not lost data YET ” Remember to BACKUP!
-
- Posts: 2
- Joined: 2024-09-11 19:00
[Solved] Re: Unable to install apps
Hi all, I re-installed the entire shebang (Debian12.7) & am now able to install the apps I want. Thanks for all the advice!