Fixing broken packages UbuntuStudio
Moderators: MattKingUSA, khz
-
Linux_Voivod
- Established Member
- Posts: 27
- Joined: Thu Jun 18, 2020 4:26 pm
- Been thanked: 1 time
Fixing broken packages UbuntuStudio
Trying to install Ubuntustudio, but I keep on getting the same errormessage, 'Can't fix your problems, you're keeping broken packages'. In synaptic packetmanager, I get the same error, that UbuntuStudio can't install, since there are broken packages. I tried quite a lot already, also a GRUB -> recovery mode -> DPKG repair broken packages. I'm running out of ideas how to fix it and I have no clue what's going wrong. Anyone an idea what to do to fix this?
ps the attachment show the error in Dutch, but I translated this in the errormessage as written above.
ps the attachment show the error in Dutch, but I translated this in the errormessage as written above.
- Attachments
-
- Schermafdruk van 2020-10-05 21-01-21.png (214.89 KiB) Viewed 3920 times
Linux Ubuntu 22.04. Yabridge, Kontakt, Metal
- sunrat
- Established Member
- Posts: 1105
- Joined: Wed Jul 22, 2020 2:08 pm
- Has thanked: 180 times
- Been thanked: 299 times
Re: Fixing broken packages UbuntuStudio
Please run in a terminal and post output:
Code: Select all
LANG=C; apt install -f-
Linux_Voivod
- Established Member
- Posts: 27
- Joined: Thu Jun 18, 2020 4:26 pm
- Been thanked: 1 time
Re: Fixing broken packages UbuntuStudio
Then I get this:
- Attachments
-
- Schermafdruk van 2020-10-06 12-07-08.png (94.34 KiB) Viewed 3912 times
Linux Ubuntu 22.04. Yabridge, Kontakt, Metal
- sunrat
- Established Member
- Posts: 1105
- Joined: Wed Jul 22, 2020 2:08 pm
- Has thanked: 180 times
- Been thanked: 299 times
Re: Fixing broken packages UbuntuStudio
LANG=C is to set environment so output is in English so most people here can read it, it's not part of the command. I forgot Ubuntu uses only sudo. Try:
And please copy and paste the text from the terminal and post here in code tags. It's much easier to read than an image, and easier for you to post.
Code: Select all
LANG=C; sudo apt install -f-
Linux_Voivod
- Established Member
- Posts: 27
- Joined: Thu Jun 18, 2020 4:26 pm
- Been thanked: 1 time
Re: Fixing broken packages UbuntuStudio
LANG=C; sudo apt install -f
[sudo] password for ralph:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
[sudo] password for ralph:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 16 not upgraded.
Linux Ubuntu 22.04. Yabridge, Kontakt, Metal
-
Linux_Voivod
- Established Member
- Posts: 27
- Joined: Thu Jun 18, 2020 4:26 pm
- Been thanked: 1 time
Re: Fixing broken packages UbuntuStudio
In the meantime I upgraded those 16 packages, but the error remains.
Linux Ubuntu 22.04. Yabridge, Kontakt, Metal
-
tramp
- Established Member
- Posts: 2434
- Joined: Mon Jul 01, 2013 8:13 am
- Has thanked: 11 times
- Been thanked: 556 times
Re: Fixing broken packages UbuntuStudio
First it would be interesting which package is broken?
Run
to list them.
Run
Code: Select all
dpkg -l | grep ^..r On the road again.
-
Linux_Voivod
- Established Member
- Posts: 27
- Joined: Thu Jun 18, 2020 4:26 pm
- Been thanked: 1 time
-
Linux_Voivod
- Established Member
- Posts: 27
- Joined: Thu Jun 18, 2020 4:26 pm
- Been thanked: 1 time
Re: Fixing broken packages UbuntuStudio
Can it be, given the fact that Carla is 30gb and me having only 25gb free, this Carla is the culprit?
Linux Ubuntu 22.04. Yabridge, Kontakt, Metal
- sunrat
- Established Member
- Posts: 1105
- Joined: Wed Jul 22, 2020 2:08 pm
- Has thanked: 180 times
- Been thanked: 299 times
Re: Fixing broken packages UbuntuStudio
What makes you think Carla is 30GB? My whole production setup takes up 12GB including Carla. I just checked and Carla uses 148MB of disk space. It surprised me it even takes that much.Linux_Voivod wrote: ↑Wed Oct 07, 2020 1:52 pm Can it be, given the fact that Carla is 30gb and me having only 25gb free, this Carla is the culprit?
You can check on your system:
Code: Select all
dpkg-query -W --showformat='${Installed-Size}\t${Package}\n' | grep carlaCode: Select all
dpkg-query -W --showformat='${Installed-Size}\t${Package}\n' | sort -nrCode: Select all
dfCode: Select all
apt-mark showhold-
Linux_Voivod
- Established Member
- Posts: 27
- Joined: Thu Jun 18, 2020 4:26 pm
- Been thanked: 1 time
Re: Fixing broken packages UbuntuStudio
Ah, I read somewhere that Carla will be about 30gb, with some other studio stuff
apt-mark showhold gives no results. Is there any alternative to Ubuntustudio? The thing is that with audacity recording gives me a headache, so I thought Ubuntustudio would help me out, reading that Ardour is integrated and Carla. But at the moment the headache remains.
apt-mark showhold gives no results. Is there any alternative to Ubuntustudio? The thing is that with audacity recording gives me a headache, so I thought Ubuntustudio would help me out, reading that Ardour is integrated and Carla. But at the moment the headache remains.
Linux Ubuntu 22.04. Yabridge, Kontakt, Metal
-
Linux_Voivod
- Established Member
- Posts: 27
- Joined: Thu Jun 18, 2020 4:26 pm
- Been thanked: 1 time
Re: Fixing broken packages UbuntuStudio
I got it installed. Somehow by one of the commands, I found out that a certain package was missing. Libavcodec-extra. To install this one I needed to install libavcodec-extra58 and from there on all the broken packages were removed, after which I could finally install the damn ubuntustudio-audio!
Now struggling with enabling realtime permissions, but that's for tomorrow.
You're commands/ideas have been helpful, so thanks for that! The terminal was the other device that finally gave me the hint to find as a Sherlock Holmes, the above missing links.
Now struggling with enabling realtime permissions, but that's for tomorrow.
You're commands/ideas have been helpful, so thanks for that! The terminal was the other device that finally gave me the hint to find as a Sherlock Holmes, the above missing links.
Linux Ubuntu 22.04. Yabridge, Kontakt, Metal
- sunrat
- Established Member
- Posts: 1105
- Joined: Wed Jul 22, 2020 2:08 pm
- Has thanked: 180 times
- Been thanked: 299 times
Re: Fixing broken packages UbuntuStudio
Aaah, so you were trying to install ubuntustudio-audio metapackage on top of standard ubuntu. I didn't know that was a thing and thought you were trying to install the full Ubuntustudio live image to hard disk which is what I did last time I tried it. I wiped it out a few days later when it wouldn't work properly; I filed it under beta software not for primetime and installed AVLinux instead. Many people seem to have it working to their satisfaction though.
Those suggestions and commands would still have been somewhat pertinent to the questions you asked. The command line will often help solve issues or perform tasks which are much harder or impossible using GUI.
Those suggestions and commands would still have been somewhat pertinent to the questions you asked. The command line will often help solve issues or perform tasks which are much harder or impossible using GUI.