How to fix: update errors about Medibuntu

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.
User avatar
xenopeek
Level 25
Level 25
Posts: 29507
Joined: Wed Jul 06, 2011 3:58 am

How to fix: update errors about Medibuntu

Post by xenopeek »

Using the Update Manager or running `apt-get update` you might be getting errors about "medibuntu", similar to the following (red highlights added by me):
Failed to fetch http:/packages.medibuntu.org/dists/precise/free/binary-i386/ Packages 404 Not Found
You are getting this errors because you still have the Medibuntu repository configured as a software source. The Medibuntu developers have called it quits and abandoned their project, and have shut this repository down. See their announcement about that here: https://launchpad.net/medibuntu/+announcement/11951

You are advised to remove the Medibuntu repository immediately. To simplify that I've made the following single command for you to run from the terminal, which will automatically remove all the active Medibuntu repositories from your configuration files:

Code: Select all

sudo sed -i '/^deb http:\/\/packages.medibuntu.org*/d' /etc/apt/sources.list /etc/apt/sources.list.d/*.list
You will be asked to provide your password (the cursor doesn't move as you type, nor do you get other feedback while typing a password on the terminal). You might get an error that it can't find the file /etc/apt/sources.list, which is fine. You will not get any other feedback from this command. You can use the Refresh button in the Update Manager afterwards and it should now no longer give errors about "medibuntu". You can also run the command "apt update" to achieve the same.

----

Q: What was the Medibuntu repository used for? Are there alternatives?
A: Medibuntu was used for just two packages (on 64 bit; I'm not sure about 32 bit as I don't have that here):
  • libdvdcss2 - For playback of video DVDs;
  • w64codecs - Codecs for certain RealPlayer 10 formats (RV30/40, COOK, and RealAudio).
Both will remain installed on your system, and are also installed on newer versions of Linux Mint. There is no need to use another repository but if you want to, you can. The VideoLAN developers have a repository for the libdvdcss and are maintaining it there: http://www.videolan.org/developers/libdvdcss.html

----

Update Oct 18th: details and instructions also shared by Clem on the blog today: http://blog.linuxmint.com/?p=2469. From Linux Mint 16 the libdvdcss2 packages will be kept in the Linux Mint extra repository.

Update Oct 30th: added a generic single command to remove the Medibuntu repositories automatically. This will work on all currently supported Linux Mint editions.
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.
Image
kukamuumuka

Re: How to fix: update errors about Medibuntu

Post by kukamuumuka »

I have stored libdvdcss.deb package for a rainy day .. :lol:
DrTeeth

Re: How to fix: update errors about Medibuntu

Post by DrTeeth »

Mint 15 uses the medibuntu repo according to the error messages I am getting here.

DrT
User avatar
Spearmint2
Level 16
Level 16
Posts: 6900
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Medibuntu Gone, Repository No More

Post by Spearmint2 »

http://www.medibuntu.org/
The Medibuntu Project has come to an end
The Medibuntu repository is unmaintained and offline.


The Medibuntu project comes to an end

Medibuntu
The Medibuntu project comes to an end

Written for Medibuntu by Gauvain Pocentek on 2013-09-11

The Medibuntu repository has been unmaintained for several months, and has become more and more useless over the years. The project is now considered abandoned, and we recommend to disable the repository if you are using it.

See http://gauvain.pocentek.net/node/61 and http://blogs.kde.org/2013/09/11/medibuntu-disappear-libdvdcss-now-direct-videolan for details.

Thanks to all the Medibuntu users and contributors.
I seem a bit late to notice it.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
User avatar
xenopeek
Level 25
Level 25
Posts: 29507
Joined: Wed Jul 06, 2011 3:58 am

Re: How to fix: update errors about Medibuntu

Post by xenopeek »

DrTeeth wrote:Mint 15 uses the medibuntu repo according to the error messages I am getting here.

DrT
AFAIK neither the installer for Linux Mint 14 nor for Linux Mint 15 configure the Medibuntu repository. If you are getting error messages about it, somehow it was added. In any case, the advice remains the same--remove the repository.
Spearmint2 wrote:I seem a bit late to notice it.
I'm noting it here now because the past few days there have been multiple posts from users asking for help with errors they are getting during updating. While it had been announced earlier that the project was abandoned, it wasn't until last week I believe that the repository actually got shut down.
Image
User avatar
Spearmint2
Level 16
Level 16
Posts: 6900
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: How to fix: update errors about Medibuntu

Post by Spearmint2 »

I'm noting it here now because the past few days there have been multiple posts from users asking for help with errors they are getting during updating. While it had been announced earlier that the project was abandoned, it wasn't until last week I believe that the repository actually got shut down.
I did look at the daily posts, but forgot to check the "stickies", I see you noted it a day ahead of me noticing when updating my Mint 14.

What's the current list of active depositories Mint 13 and upward still use? I think I have them all, but not sure.
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
User avatar
RobertLM78
Level 3
Level 3
Posts: 183
Joined: Sat Apr 28, 2012 4:19 am
Location: US

Re: How to fix: update errors about Medibuntu

Post by RobertLM78 »

Glad I found this thread and found out why the package list updating wouldn't finish. Hopefully others will see this thread too :).

Edit - Just saw this thread is a sticky already
Gateway DX4860, Sapphire Radeon HD 5450, 8 GB RAM, Mint 17.3 64-bit (Rosa), MATE
AMD Ryzen 3-3100, AMD Radeon RX 570, 16 GB RAM, Mint 21 (Vanessa), MATE
Minterator

Re: How to fix: update errors about Medibuntu

Post by Minterator »

Thank you! All my machines had stopped updating a few days ago. Why did the Medibuntu project stop?
User avatar
xenopeek
Level 25
Level 25
Posts: 29507
Joined: Wed Jul 06, 2011 3:58 am

Re: How to fix: update errors about Medibuntu

Post by xenopeek »

Minterator wrote:Why did the Medibuntu project stop?
Em, read the link in the first post here will ya :)
Image
Minterator

Re: How to fix: update errors about Medibuntu

Post by Minterator »

xenopeek wrote:
Minterator wrote:Why did the Medibuntu project stop?
Em, read the link in the first post here will ya :)
Thank you, its way too technical for me. :)

I'm glad everything works now. I love Mint.
jcoles
Level 2
Level 2
Posts: 63
Joined: Wed Feb 08, 2012 11:22 pm

Re: How to fix: update errors about Medibuntu

Post by jcoles »

I'm glad I found this thread.
Neither the Software Sources application nor Edit > Software Sources in the Update Manager function any more.
I had to remove medibuntu by editing /etc/apt/sources.list.
Minterator

Re: How to fix: update errors about Medibuntu

Post by Minterator »

jcoles wrote:I'm glad I found this thread.
Neither the Software Sources application nor Edit > Software Sources in the Update Manager function any more.
I had to remove medibuntu by editing /etc/apt/sources.list.
You can just go into "Software Sources" > "Other software" and uncheck "http://packages.medibuntu.org/"
iowabeakster

Re: How to fix: update errors about Medibuntu

Post by iowabeakster »

--I posted this on one of the other threads to help out with this. Copied and pasted here (with a couple edits)--

more edits--

On Mint 15 Cinnamon this is how to fix the Medibuntu update errors.
On Mint 14 follow the instrucions provided by Plaster02 several posts deeper in this thread (thanks for feeback).

On mint 15, if you enter this into a terminal, it should return a file or maybe 2 files (if you enable source repositories):

Code: Select all

grep -RE '^\s*[^#].*medibuntu.*' /etc/apt/sources.list{,.d/*.list}
they are both inside the directory /etc/apt/sources.list.d
and they are called:
official-package-repositories.list
official-source-repositories.list

So enter this comand:

Code: Select all

gksudo gedit /etc/apt/sources.list.d/official-package-repositories.list
It will ask for your password and then it will open that file in the text editor "gedit".

Then remove the line that is for the the medibuntu repository, just delete it. Medibuntu is gone and is not coming back.

Then you can add this line to replace it:
deb ftp://ftp.videolan.org/pub/debian stable/

Then save it.

Next open the other file if the first command shown above returned both files (you don't need to bother if it only returned one file above):

Code: Select all

gksudo gedit /etc/apt/sources.list.d/official-source-repositories.list
Delete the line about Medibuntu in that file too.
Add this line to replace the repository:
deb-src ftp://ftp.videolan.org/pub/debian stable/

Save it.

Add the new key for the new repository that replaced Medibuntu

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6BCA5E4DB84288D9
...and update!
Last edited by iowabeakster on Mon Oct 14, 2013 10:49 am, edited 7 times in total.
Plaster02

Re: How to fix: update errors about Medibuntu

Post by Plaster02 »

iowabeakster wrote:--I posted this on one of the other threads to help out with this. Copied and pasted here (with a couple edits)--

On Mint 15 this is how to fix the Medibuntu update errors
(and I assume 14 too... feedback to confirm would be useful)
Thanks for posting these instructions, they helped me to solve the problem when updating using apt.
I have installed Linux Mint 14 Nadia and I used the following commands, they are a bit different from the ones you posted.

In a terminal I entered:

Code: Select all

gksudo gedit /etc/apt/sources.list
Then I removed the mediabuntu line:

deb http://packages.medibuntu.org/ quantal free non-free

... and added the following line for the libdvdcss package (as thebookkeeper mentioned):

deb ftp://ftp.videolan.org/pub/debian stable/

Saved the file and updated. After the update I got the following error:

W: GPG error: ftp://ftp.videolan.org stable/ Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6BCA5E4DB84288D9

... so I added the missing GPG key running the following command in a terminal:

Code: Select all

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6BCA5E4DB84288D9
Updated again and everything looks fine now.

Thanks to all of you that posted this solution.
User avatar
Spearmint2
Level 16
Level 16
Posts: 6900
Joined: Sat May 04, 2013 1:41 pm
Location: Maryland, USA

Re: How to fix: update errors about Medibuntu

Post by Spearmint2 »

My current Mint 14 repositories list. Missing anything?


deb http://packages.linuxmint.com/ nadia upstream import main backport
deb http://security.ubuntu.com/ubuntu/ quantal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ quantal partner
deb http://archive.removed/ubuntu quantal-removed apps
deb http://archive.removed/ubuntu quantal-removed games
deb http://repo.mate-desktop.org/ubuntu quantal main
All things go better with Mint. Mint julep, mint jelly, mint gum, candy mints, pillow mints, peppermint, chocolate mints, spearmint,....
nomko

Re: How to fix: update errors about Medibuntu

Post by nomko »

xenopeek wrote:AFAIK neither the installer for Linux Mint 14 nor for Linux Mint 15 configure the Medibuntu repository. If you are getting error messages about it, somehow it was added.
Yesterday, Sunday 13 October, I installed Mint 15 KDE and when updating I get an error message saying that the Medibuntu repo couldn't be accessed. The Medibuntu repo is added by default in the Mint source list. Same goes for the other versions of Mint, the Medibuntu repo is a standard repo in the Mint source list.
User avatar
xenopeek
Level 25
Level 25
Posts: 29507
Joined: Wed Jul 06, 2011 3:58 am

Re: How to fix: update errors about Medibuntu

Post by xenopeek »

nomko, indeed after checking the Linux Mint 15 KDE release has Medibuntu in the repository list. Linux Mint 15 Cinnamon doesn't. So there is a difference between the editions. I'll update the first post here.
Image
marcomint2

Re: How to fix: update errors about Medibuntu

Post by marcomint2 »

I am stuck here. The system reports it cannot refresh the list of packages and when I try to start the softwaremanager it reports that it cannot locate certain files before it stops again. Restarting after this message is nog longer possible unless I restart my PC.
I have tried the terminal instructions (gksudo gedit) as were listed above. Also without succes.

I would appreciate any advice. System Mint 14, 64 bit
jcoles
Level 2
Level 2
Posts: 63
Joined: Wed Feb 08, 2012 11:22 pm

Re: How to fix: update errors about Medibuntu

Post by jcoles »

On Mint 14 (MATE version), the fix works, but Update Manager still reports download failures for some non-medibuntu repos. The list flashes past too fast to read and can't be paused before it closes. Here are the failed packages reported by apt-get update.

Code: Select all

Ign http://archive.canonical.com quantal/partner Translation-en_CA                                                             
Ign http://archive.canonical.com quantal/partner Translation-en                                                   
Ign http://archive.canonical.com quantal/partner Translation-en_GB                                                             
Ign http://archive.canonical.com quantal/partner Translation-en_US                                                             
Ign http://archive.canonical.com quantal/partner Translation-zh_CN                                                             
Ign http://files.freedv.org stable/main Translation-zh_CN                                                                      
Ign http://www.duinsoft.nl debs/all Translation-en_CA                                                                        
Ign http://www.duinsoft.nl debs/all Translation-en                                                     
Ign http://www.duinsoft.nl debs/all Translation-en_GB                                                
Ign http://www.duinsoft.nl debs/all Translation-en_US                                                 
Ign http://www.duinsoft.nl debs/all Translation-zh_CN                                                 
Ign http://security.ubuntu.com quantal-security/main Translation-en_CA                                                         
Ign http://security.ubuntu.com quantal-security/main Translation-en_GB                                                         
Ign http://security.ubuntu.com quantal-security/main Translation-en_US                                                         
Ign http://security.ubuntu.com quantal-security/main Translation-zh_CN                                                         
Ign http://security.ubuntu.com quantal-security/multiverse Translation-en_CA                                                   
Ign http://security.ubuntu.com quantal-security/multiverse Translation-en_GB                                                   
Ign http://security.ubuntu.com quantal-security/multiverse Translation-en_US                                                   
Ign http://security.ubuntu.com quantal-security/multiverse Translation-zh_CN                                                   
Ign http://security.ubuntu.com quantal-security/restricted Translation-en_CA                                                   
Ign http://security.ubuntu.com quantal-security/restricted Translation-en_GB                                                   
Ign http://security.ubuntu.com quantal-security/restricted Translation-en_US                                                   
Ign http://security.ubuntu.com quantal-security/restricted Translation-zh_CN                                                   
Ign http://security.ubuntu.com quantal-security/universe Translation-en_CA                                                     
Ign http://security.ubuntu.com quantal-security/universe Translation-en_GB                                                     
Ign http://packages.linuxmint.com nadia/backport Translation-en_CA                                                             
Ign http://packages.linuxmint.com nadia/backport Translation-en                                                                
Ign http://packages.linuxmint.com nadia/backport Translation-en_GB                                                             
Ign http://security.ubuntu.com quantal-security/universe Translation-en_US                                                     
Ign http://packages.linuxmint.com nadia/backport Translation-en_US                                                             
Ign http://security.ubuntu.com quantal-security/universe Translation-zh_CN                                                     
Ign http://packages.linuxmint.com nadia/backport Translation-zh_CN                                                             
Ign http://packages.linuxmint.com nadia/import Translation-en_CA                                                               
Ign http://packages.linuxmint.com nadia/import Translation-en                                                                  
Ign http://packages.linuxmint.com nadia/import Translation-en_GB                                                               
Ign http://packages.linuxmint.com nadia/import Translation-en_US                                                               
Ign http://packages.linuxmint.com nadia/import Translation-zh_CN                                                               
Ign http://packages.linuxmint.com nadia/main Translation-en_CA                                                                 
Ign http://packages.linuxmint.com nadia/main Translation-en                                                                    
Ign http://packages.linuxmint.com nadia/main Translation-en_GB                                                                 
Ign http://packages.linuxmint.com nadia/main Translation-en_US                                                                 
Ign http://packages.linuxmint.com nadia/main Translation-zh_CN                                                                 
Ign http://packages.linuxmint.com nadia/upstream Translation-en_CA                                                             
Ign http://packages.linuxmint.com nadia/upstream Translation-en                                                                
Ign http://packages.linuxmint.com nadia/upstream Translation-en_GB                                                             
Ign http://packages.linuxmint.com nadia/upstream Translation-en_US                                                             
Ign http://packages.linuxmint.com nadia/upstream Translation-zh_CN                                                             
Ign http://archive.ubuntu.com quantal/main Translation-en_US                                                                   
Ign http://archive.ubuntu.com quantal/multiverse Translation-en_CA                                                             
Ign http://archive.ubuntu.com quantal/multiverse Translation-en_US                                                             
Ign http://archive.ubuntu.com quantal/restricted Translation-en_CA                                                             
Ign http://archive.ubuntu.com quantal/restricted Translation-en_US                                                             
Ign http://archive.ubuntu.com quantal/universe Translation-en_US                                                               
Ign http://archive.ubuntu.com quantal-updates/main Translation-en_CA                                                           
Ign http://archive.ubuntu.com quantal-updates/main Translation-en_GB                                                           
Ign http://archive.ubuntu.com quantal-updates/main Translation-en_US                                                           
Ign http://archive.ubuntu.com quantal-updates/main Translation-zh_CN                                                           
Ign http://archive.ubuntu.com quantal-updates/multiverse Translation-en_CA                                                     
Ign http://archive.ubuntu.com quantal-updates/multiverse Translation-en_GB                                                     
Ign http://archive.ubuntu.com quantal-updates/multiverse Translation-en_US                                                     
Ign http://archive.ubuntu.com quantal-updates/multiverse Translation-zh_CN                                                     
Ign http://archive.ubuntu.com quantal-updates/restricted Translation-en_CA                                                     
Ign http://archive.ubuntu.com quantal-updates/restricted Translation-en_GB                                                     
Ign http://archive.ubuntu.com quantal-updates/restricted Translation-en_US                                                     
Ign http://archive.ubuntu.com quantal-updates/restricted Translation-zh_CN                                                     
Ign http://archive.ubuntu.com quantal-updates/universe Translation-en_CA                                                       
Ign http://archive.ubuntu.com quantal-updates/universe Translation-en_GB                                                       
Ign http://archive.ubuntu.com quantal-updates/universe Translation-en_US                                                       
Ign http://archive.ubuntu.com quantal-updates/universe Translation-zh_CN   
The list looks a bit redundant. Are all of these repositories now invalid too?

Is there somewhere we can find the new default settings for Update Manager / apt-get ?
Adelante

Re: How to fix: update errors about Medibuntu

Post by Adelante »

Linux Mint 15 Cinnamon does have Medibuntu in the repository list, FYI, Xenopeek, using:

Code: Select all

gksudo gedit /etc/apt/sources.list.d/official-package-repositories.list
Before doing that, I couldn't find it anywhere in Cinnamon. Once located, deleting the Medibuntu line and saving is the only thing that corrected the recent update error for me.

But I remember when the RC came out there was a temporary issue with Medibuntu in LM 15 Cinnamon that soon cleared itself up, but had left the same error message, so I believe Medibuntu was in the repository since at least then. Unless something like K3B, which I install normally the same day, pulls in Medibuntu with it.
xenopeek wrote:nomko, indeed after checking the Linux Mint 15 KDE release has Medibuntu in the repository list. Linux Mint 15 Cinnamon doesn't. So there is a difference between the editions. I'll update the first post here.
Locked

Return to “Beginner Questions”