LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Newbie having update errors in Mint 17.2 (https://www.linuxquestions.org/questions/linux-software-2/newbie-having-update-errors-in-mint-17-2-a-4175578768/)

Ericj 05-01-2016 03:45 PM

Newbie having update errors in Mint 17.2
 
Keep getting these errors ??

But then it says my system is up to date.

W: Failed to fetch http://packages.domain.com/dists/trusty/InRelease

W: Failed to fetch http://packages.domain.com/dists/trusty/Release.gpg Unable to connect to packages.domain.com:http:

W: Failed to fetch cdrom://Linux Mint 17.2 _Rafaela_ - Release i386 20150627/dists/trusty/contrib/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Linux Mint 17.2 _Rafaela_ - Release i386 20150627/dists/trusty/main/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Linux Mint 17.2 _Rafaela_ - Release i386 20150627/dists/trusty/non-free/binary-i386/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Some index files failed to download. They have been ignored, or old ones used instead.


I haven't changed anything that should cause this... just started doing it out of nowhere. I tried to go http://packages.domain.com and nothing there and don't know why the reference to a CD

Thanks for any help... remember I'm kind of new to Linux :)

donald3.heckel 05-01-2016 04:43 PM

Reply and inquiry
 
Hello Eric,

I am glad you have made the jump.

Just need to pull Linux Mint out of the altoids. ;)

Can you post the output of:


Code:

sudo cat /etc/apt/sources.list
Sincerely,

donald3.heckel

Ericj 05-01-2016 04:50 PM

Quote:

Originally Posted by donald3.heckel (Post 5539163)
Hello Eric,

I am glad you have made the jump.

Just need to pull Linux Mint out of the altoids. ;)

Can you post the output of:


Code:

sudo cat /etc/apt/sources.list
Sincerely,

donald3.heckel

this is what I got

"deb cdrom:[Linux Mint 17.2 _Rafaela_ - Release i386 20150627]/ trusty contrib main non-free"

Thanks for the reply, hope Mint doesn't start acting like Windows... many times shut down my system as normal, boot up the next day with issues.

donald3.heckel 05-01-2016 05:31 PM

Quote:

Originally Posted by Ericj (Post 5539166)
this is what I got

"deb cdrom:[Linux Mint 17.2 _Rafaela_ - Release i386 20150627]/ trusty contrib main non-free"

Thanks for the reply, hope Mint doesn't start acting like Windows... many times shut down my system as normal, boot up the next day with issues.

Hello Eric,

No problem. The aforementioned line that says "deb cdrom..." is what may be causing the issue. Try commenting that line out. To do so,

change:

Code:

deb cdrom:[Linux Mint 17.2 _Rafaela_ - Release i386 20150627]/ trusty contrib main non-free
to

Code:

# deb cdrom:[Linux Mint 17.2 _Rafaela_ - Release i386 20150627]/ trusty contrib main non-free
and then run

Code:

sudo apt-get update &&
sudo apt-get upgrade --yes &&
sudo apt-get dist-upgrade --yes

That just might take care of it.

Let me know your results and how it goes.

Sincerely,

donald3.heckel

Ericj 05-01-2016 05:53 PM

Quote:

Originally Posted by donald3.heckel (Post 5539180)
Hello Eric,

No problem. The aforementioned line that says "deb cdrom..." is what may be causing the issue. Try commenting that line out. To do so,

change:

Code:

deb cdrom:[Linux Mint 17.2 _Rafaela_ - Release i386 20150627]/ trusty contrib main non-free
to

Code:

# deb cdrom:[Linux Mint 17.2 _Rafaela_ - Release i386 20150627]/ trusty contrib main non-free
and then run

Code:

sudo apt-get update &&
sudo apt-get upgrade --yes &&
sudo apt-get dist-upgrade --yes

That just might take care of it.

Let me know your results and how it goes.

Sincerely,

donald3.heckel

Well, I followed your instructions carefully, so a lot of stuff was installed (maybe too much to post here) and then I ran the software updater again and same errors

UPDATE:

I did the same edit but in a different file than what you said before.
It was in a sub-folder sources.list.d and it was file name additional-repositories.list

Then reran the updater and got no error message, just hope all the other installations I just did don't cause other issues.

Thanks a lot for your help

donald3.heckel 05-01-2016 07:44 PM

Hello Eric,

No problem! I am very glad you got it fixed.

Enjoy your installation. If you had a sources.list.d, I guess that was where the problem was. Updating your system should keep the packages and deps installed that are necessary to run your system and keep it up to date and secure.

Glad I could help. :)

Sincerely,

donald3.heckel

donald3.heckel 05-01-2016 07:48 PM

Be sure to mark this thread as "SOLVED" when your issues are solved. ;)

Enjoy!

Sincerely,

donald3.heckel


All times are GMT -5. The time now is 09:01 AM.