Replacing Software Sources

Forum rules
Before you post please read this

Replacing Software Sources

Postby and003 on Fri May 02, 2014 3:53 am

I am having trouble updating my LinuxMint installation because of software sources that are no longer working or can't be accessed. Where can I find new software sources?

For information, I am using LinuxMint Maya 32-bit with XFCE. I am also including documentation of one attempt to make an update. If further information is required, let me know.

******

Code: Select all
and003@Tiger-Linux-Mint-Maya-DC-426H ~ $ sudo apt-get update
[sudo] password for and003:
Get:1 http://packages.linuxmint.com maya Release.gpg [198 B]
Hit http://archive.ubuntu.com precise Release.gpg                             
Hit http://archive.ubuntu.com precise-updates Release.gpg                     
Get:2 http://packages.linuxmint.com maya Release [18.6 kB]                     
Hit http://archive.ubuntu.com precise Release                                 
Hit http://archive.ubuntu.com precise-updates Release                         
Hit http://security.ubuntu.com precise-security Release.gpg                   
Hit http://archive.canonical.com precise Release.gpg                           
Hit http://archive.ubuntu.com precise/main i386 Packages                       
Ign http://archive.getdeb.net maya-getdeb Release.gpg                         
Get:3 http://packages.linuxmint.com maya/main i386 Packages [18.2 kB]         
Hit http://archive.ubuntu.com precise/restricted i386 Packages                 
Hit http://archive.ubuntu.com precise/universe i386 Packages                   
Hit http://archive.ubuntu.com precise/multiverse i386 Packages                 
Hit http://archive.ubuntu.com precise/main TranslationIndex                   
Hit http://archive.ubuntu.com precise/multiverse TranslationIndex             
Hit http://security.ubuntu.com precise-security Release                       
Hit http://archive.ubuntu.com precise/restricted TranslationIndex             
Hit http://archive.ubuntu.com precise/universe TranslationIndex               
Hit http://archive.ubuntu.com precise-updates/main i386 Packages               
Hit http://archive.ubuntu.com precise-updates/restricted i386 Packages         
Hit http://archive.ubuntu.com precise-updates/universe i386 Packages           
Hit http://archive.canonical.com precise Release                               
Get:4 http://packages.linuxmint.com maya/upstream i386 Packages [10.6 kB]     
Get:5 http://packages.linuxmint.com maya/import i386 Packages [42.0 kB]       
Hit http://archive.ubuntu.com precise-updates/multiverse i386 Packages         
Hit http://archive.ubuntu.com precise-updates/main TranslationIndex           
Hit http://archive.ubuntu.com precise-updates/multiverse TranslationIndex     
Hit http://archive.ubuntu.com precise-updates/restricted TranslationIndex     
Hit http://archive.ubuntu.com precise-updates/universe TranslationIndex       
Hit http://security.ubuntu.com precise-security/main i386 Packages             
Hit http://archive.canonical.com precise/partner i386 Packages                 
Hit http://archive.ubuntu.com precise/main Translation-en                     
Hit http://archive.ubuntu.com precise/multiverse Translation-en               
Hit http://archive.ubuntu.com precise/restricted Translation-en               
Hit http://archive.ubuntu.com precise/universe Translation-en                 
Ign http://packages.linuxmint.com maya/import TranslationIndex                 
Hit http://archive.ubuntu.com precise-updates/main Translation-en             
Hit http://archive.ubuntu.com precise-updates/multiverse Translation-en       
Hit http://archive.ubuntu.com precise-updates/restricted Translation-en       
Hit http://security.ubuntu.com precise-security/restricted i386 Packages       
Hit http://security.ubuntu.com precise-security/universe i386 Packages         
Hit http://security.ubuntu.com precise-security/multiverse i386 Packages       
Hit http://security.ubuntu.com precise-security/main TranslationIndex         
Hit http://security.ubuntu.com precise-security/multiverse TranslationIndex   
Hit http://security.ubuntu.com precise-security/restricted TranslationIndex   
Hit http://security.ubuntu.com precise-security/universe TranslationIndex     
Ign http://archive.canonical.com precise/partner TranslationIndex             
Hit http://archive.ubuntu.com precise-updates/universe Translation-en         
Ign http://packages.linuxmint.com maya/main TranslationIndex                   
Ign http://archive.getdeb.net maya-getdeb Release                             
Hit http://security.ubuntu.com precise-security/main Translation-en   
Ign http://packages.linuxmint.com maya/upstream TranslationIndex               
Hit http://security.ubuntu.com precise-security/multiverse Translation-en     
Hit http://security.ubuntu.com precise-security/restricted Translation-en     
Hit http://security.ubuntu.com precise-security/universe Translation-en       
Ign http://archive.getdeb.net maya-getdeb/apps TranslationIndex               
Ign http://archive.canonical.com precise/partner Translation-en_US             
Ign http://archive.canonical.com precise/partner Translation-en               
Ign http://packages.linuxmint.com maya/import Translation-en_US
Ign http://packages.linuxmint.com maya/import Translation-en
Ign http://packages.linuxmint.com maya/main Translation-en_US
Ign http://packages.linuxmint.com maya/main Translation-en
Ign http://packages.linuxmint.com maya/upstream Translation-en_US
Ign http://packages.linuxmint.com maya/upstream Translation-en
Err http://archive.getdeb.net maya-getdeb/apps i386 Packages
  404  Not Found
Ign http://archive.getdeb.net maya-getdeb/apps Translation-en_US               
Ign http://archive.getdeb.net maya-getdeb/apps Translation-en                 
Fetched 89.5 kB in 6s (13.1 kB/s)                                             
W: Failed to fetch http://archive.getdeb.net/ubuntu/dists/maya-getdeb/apps/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
and003@Tiger-Linux-Mint-Maya-DC-426H ~ $
Last edited by karlchen on Fri May 02, 2014 4:28 am, edited 1 time in total.
Reason: added [code] [/code] tags around the screen output of "sudo apt-get update"
and003
Level 1
Level 1
 
Posts: 5
Joined: Wed Apr 30, 2014 6:55 pm

Linux Mint is funded by ads and donations.
 

Re: Replacing Software Sources

Postby karlchen on Fri May 02, 2014 4:27 am

Hello, and003.

Telling from the output of "sudo apt-get update" only the repository entry which points to getdeb is wrong, because it names "maya" where it should name "precise" instead.
Please, post the output of the command line
Code: Select all
inxi -r

Kind regards,
Karl
Image
Endless legions of bigoted, brutal, bloodthirsty Orcs from the dark land of Mordor are bringing desolation, despair and death to the poor inhabitants of the Middle East. [1]
User avatar
karlchen
Level 10
Level 10
 
Posts: 3131
Joined: Sat Dec 31, 2011 7:21 am

Re: Replacing Software Sources

Postby TANUJMINTLINUX on Fri May 02, 2014 4:55 am

karlchen wrote:Hello, and003.

Telling from the output of "sudo apt-get update" only the repository entry which points to getdeb is wrong, because it names "maya" where it should name "precise" instead.
Please, post the output of the command line
Code: Select all
inxi -r

Kind regards,
Karl

hi i am having the same thing when i run the software update and in my case the result of ur said command is


Code: Select all
linux@linux-Notebook-PC ~ $ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list.d/additional-repositories.list
           deb http://packages.domain.com/ saucy main
           Active apt sources in file: /etc/apt/sources.list.d/getdeb.list
           deb http://archive.getdeb.net/ubuntu saucy-getdeb apps
           Active apt sources in file: /etc/apt/sources.list.d/official-package-repositories.list
           deb http://packages.linuxmint.com petra main upstream import
           deb http://extra.linuxmint.com petra main
           deb http://archive.ubuntu.com/ubuntu saucy main restricted universe multiverse
           deb http://archive.ubuntu.com/ubuntu saucy-updates main restricted universe multiverse
           deb http://security.ubuntu.com/ubuntu/ saucy-security main restricted universe multiverse
           deb http://archive.canonical.com/ubuntu/ saucy partner
           Active apt sources in file: /etc/apt/sources.list.d/official-source-repositories.list
           deb-src http://packages.linuxmint.com petra main upstream import
           deb-src http://extra.linuxmint.com petra main
           deb-src http://archive.ubuntu.com/ubuntu saucy main restricted universe multiverse
           deb-src http://archive.ubuntu.com/ubuntu saucy-updates main restricted universe multiverse
           deb-src http://security.ubuntu.com/ubuntu/ saucy-security main restricted universe multiverse
           deb-src http://archive.canonical.com/ubuntu/ saucy partner
TANUJMINTLINUX
Level 1
Level 1
 
Posts: 40
Joined: Sun Apr 20, 2014 9:23 am

Re: Replacing Software Sources

Postby eanfrid on Fri May 02, 2014 5:03 am

The path has changed a few months ago:
Code: Select all
http://archive.getdeb.net/ubuntu
is a wrong path. It should be:
Code: Select all
http://archive.getdeb.net/getdeb/ubuntu
Main desktop: Debian GNU/Linux Wheezy 64bit w/custom 3.14 longterm kernel - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1560
Joined: Mon Apr 30, 2012 2:49 am
Location: there is no place like ~

Re: Replacing Software Sources

Postby TANUJMINTLINUX on Fri May 02, 2014 5:09 am

eanfrid wrote:The path has changed a few months ago:
Code: Select all
http://archive.getdeb.net/ubuntu
is a wrong path. It should be:
Code: Select all
http://archive.getdeb.net/getdeb/ubuntu

IT STILL DOES NOT WORKS and says
Code: Select all
linux@linux-Notebook-PC ~ $ sudo apt-get update
[sudo] password for linux:
Hit http://archive.getdeb.net saucy-getdeb InRelease
Hit http://archive.getdeb.net saucy-getdeb/apps i386 Packages                 
Ign http://packages.linuxmint.com petra InRelease                             
Get:1 http://packages.linuxmint.com petra Release.gpg [198 B]                 
Ign http://archive.canonical.com saucy InRelease                               
Ign http://security.ubuntu.com saucy-security InRelease                       
Get:2 http://packages.linuxmint.com petra Release [18.5 kB]                   
Hit http://archive.canonical.com saucy Release.gpg                             
Get:3 http://security.ubuntu.com saucy-security Release.gpg [933 B]           
Hit http://archive.canonical.com saucy Release                                 
Get:4 http://packages.linuxmint.com petra/main Sources [25.5 kB]               
Get:5 http://security.ubuntu.com saucy-security Release [49.6 kB]             
Ign http://archive.getdeb.net saucy-getdeb/apps Translation-en_IN             
Ign http://archive.getdeb.net saucy-getdeb/apps Translation-en                 
Hit http://archive.canonical.com saucy/partner Sources                         
Get:6 http://packages.linuxmint.com petra/upstream Sources [8,645 B]           
Hit http://archive.canonical.com saucy/partner i386 Packages                   
Get:7 http://packages.linuxmint.com petra/import Sources [12.0 kB]             
Get:8 http://security.ubuntu.com saucy-security/main Sources [43.6 kB]         
Get:9 http://packages.linuxmint.com petra/main i386 Packages [28.7 kB]         
Get:10 http://packages.linuxmint.com petra/upstream i386 Packages [23.3 kB]   
Get:11 http://security.ubuntu.com saucy-security/restricted Sources [14 B]     
Get:12 http://packages.linuxmint.com petra/import i386 Packages [40.4 kB]     
Get:13 http://security.ubuntu.com saucy-security/universe Sources [8,836 B]   
Ign http://extra.linuxmint.com petra InRelease                                 
Get:14 http://extra.linuxmint.com petra Release.gpg [198 B]                   
Get:15 http://security.ubuntu.com saucy-security/multiverse Sources [1,827 B] 
Get:16 http://extra.linuxmint.com petra Release [3,090 B]                     
Get:17 http://security.ubuntu.com saucy-security/main i386 Packages [114 kB]   
Get:18 http://extra.linuxmint.com petra/main Sources [20 B]                   
Ign http://archive.ubuntu.com saucy InRelease                                 
Get:19 http://extra.linuxmint.com petra/main i386 Packages [655 B]             
Ign http://archive.ubuntu.com saucy-updates InRelease                         
Hit http://archive.ubuntu.com saucy Release.gpg                               
Ign http://archive.canonical.com saucy/partner Translation-en_IN               
Get:20 http://archive.ubuntu.com saucy-updates Release.gpg [933 B]             
Ign http://archive.canonical.com saucy/partner Translation-en                 
Hit http://archive.ubuntu.com saucy Release                                   
Get:21 http://security.ubuntu.com saucy-security/restricted i386 Packages [14 B]
Get:22 http://archive.ubuntu.com saucy-updates Release [49.6 kB]               
Get:23 http://security.ubuntu.com saucy-security/universe i386 Packages [38.8 kB]
Get:24 http://security.ubuntu.com saucy-security/multiverse i386 Packages [3,634 B]
Get:25 http://packages.domain.com saucy InRelease                             
100% [25 InRelease gpgv 1,014 B] [Waiting for headers] [Waiting for headers] [WSplitting up /var/lib/apt/lists/partial/packages.domain.com_dists_saucy_InReleaseIgn http://packages.domain.com saucy InRelease                                 
E: GPG error: http://packages.domain.com saucy InRelease: Clearsigned file isn't valid, got 'NODATA' (does the network require authentication?)
TANUJMINTLINUX
Level 1
Level 1
 
Posts: 40
Joined: Sun Apr 20, 2014 9:23 am

Re: Replacing Software Sources

Postby eanfrid on Fri May 02, 2014 5:28 am

Code: Select all
http://packages.domain.com
is not an Ubuntu/Mint repository location.
Main desktop: Debian GNU/Linux Wheezy 64bit w/custom 3.14 longterm kernel - MATE 1.8.1
(i5 2400@3.7GHz - 16GB DDR3 - HD6770 w/radeon driver - SSD+RAID1)
User avatar
eanfrid
Level 7
Level 7
 
Posts: 1560
Joined: Mon Apr 30, 2012 2:49 am
Location: there is no place like ~

Re: Replacing Software Sources

Postby TANUJMINTLINUX on Fri May 02, 2014 7:03 am

eanfrid wrote:
Code: Select all
http://packages.domain.com
is not an Ubuntu/Mint repository location.

so what should i do EXACTLY
TANUJMINTLINUX
Level 1
Level 1
 
Posts: 40
Joined: Sun Apr 20, 2014 9:23 am

Re: Replacing Software Sources

Postby karlchen on Fri May 02, 2014 7:10 am

In the sources list file /etc/apt/sources.list.d/additional-repositories.list prefix a hash # to the line
Code: Select all
deb http://packages.domain.com/ saucy main
Result:
Code: Select all
# deb http://packages.domain.com/ saucy main

Note:
The sources list files can only be modified with root privileges. So you will have to run a commandline like this in order to edit the file:
Code: Select all
sudo gedit /etc/apt/sources.list.d/additional-repositories.list

On Mint 16, you can also use the "Software Sources" from the Mint Menu and simply untick (disable) the dummy repository http://packages.domain.com/.
Image
Endless legions of bigoted, brutal, bloodthirsty Orcs from the dark land of Mordor are bringing desolation, despair and death to the poor inhabitants of the Middle East. [1]
User avatar
karlchen
Level 10
Level 10
 
Posts: 3131
Joined: Sat Dec 31, 2011 7:21 am

Re: Replacing Software Sources

Postby and003 on Fri May 02, 2014 4:03 pm

karlchen wrote:Hello, and003.

Telling from the output of "sudo apt-get update" only the repository entry which points to getdeb is wrong, because it names "maya" where it should name "precise" instead.
Please, post the output of the command line
Code: Select all
inxi -r

Kind regards,
Karl

I used your idea and it seems to have worked. I was able to update my system. In the meantime, I would like to update my sources.list file to make sure this doesn't happen again. I know that I will need to replace the packages.medibuntu.org link and possibly the archive.getdeb.net links as well. I will also need a list of additional repositories, since I don't have one in my sources.list.d directory. I am including the code of the sources.list file I have now. If you need further information, let me know.

Code: Select all
deb http://packages.linuxmint.com/ maya main upstream import
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ precise partner
deb http://packages.medibuntu.org/ precise free non-free

# deb http://archive.getdeb.net/ubuntu precise-getdeb apps
# deb http://archive.getdeb.net/ubuntu precise-getdeb games
and003
Level 1
Level 1
 
Posts: 5
Joined: Wed Apr 30, 2014 6:55 pm

Re: Replacing Software Sources

Postby karlchen on Sun May 04, 2014 9:09 am

Hello, and003.

The sources.list file can only be modified with root privileges. So you will have to run a commandline like this in order to edit the file:
Code: Select all
sudo gedit /etc/apt/sources.list

Change your sources.list file to read
Code: Select all
deb http://packages.linuxmint.com/ maya main upstream import
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ precise partner
# deb http://packages.medibuntu.org/ precise free non-free

# deb http://archive.getdeb.net/ubuntu precise-getdeb apps
# deb http://archive.getdeb.net/ubuntu precise-getdeb games

In case you wish to activate the Getdeb repositories, remove the "# " characters in front of the 2 Getdeb lines.
Next run
Code: Select all
sudo apt-get update
This will reveal whether any error has slipped your attention.

Note:
You can disable/enable existing repository entries inside mintupdate => software sources without editing the sources.list file manually.

I will also need a list of additional repositories
Why? If all the repositories which your system has got to query for software updates are listed in the file sources.list then there is no need to have an extra file /etc/apt/sources.d/additional-repositories.
There are several ways of achieving the same goal. Do not let yourself be confused by the fact that in older Ubuntu/Mint versions most things were added to the main file sources.list, whereas in newer Ubuntu/Mint versions the trend is using several separate sources list files.

Kind regards,
Karl
Image
Endless legions of bigoted, brutal, bloodthirsty Orcs from the dark land of Mordor are bringing desolation, despair and death to the poor inhabitants of the Middle East. [1]
User avatar
karlchen
Level 10
Level 10
 
Posts: 3131
Joined: Sat Dec 31, 2011 7:21 am

Linux Mint is funded by ads and donations.
 

Return to XFCE

Who is online

Users browsing this forum: No registered users and 1 guest