LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-14-2018, 04:21 AM   #1
Charri
LQ Newbie
 
Registered: Nov 2018
Posts: 18

Rep: Reputation: Disabled
Talking elementary OS sudo apt-get update failure


Hi guys!

I'm a new to Linux and need a hand solving a little problem. I've searched the internet but couldn't find one. Looking forward to hearing from you soon.

Here's the message I get:

Hit:1 http://dk.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://dk.archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:3 http://dk.archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:4 http://ppa.launchpad.net/elementary-os/stable/ubuntu xenial InRelease
Ign:5 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:6 http://packages.microsoft.com/repos/vscode stable InRelease
Hit:7 http://packages.elementary.io/appcenter xenial InRelease
Get:8 http://ppa.launchpad.net/linuxuprising/java/ubuntu xenial InRelease [18.0 kB]
Get:9 http://archive.getdeb.net/ubuntu precise-getdeb InRelease
Err:9 http://archive.getdeb.net/ubuntu precise-getdeb InRelease
Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
Hit:10 http://dl.google.com/linux/chrome/deb stable Release
Hit:11 http://ppa.launchpad.net/elementary-os/[/CODE]os-patches/ubuntu xenial InRelease
Hit:12 https://deb.nodesource.com/node_10.x xenial InRelease
Hit:13 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:14 https://packages.microsoft.com/ubuntu/17.10/prod artful InRelease
Hit:15 https://download.mono-project.com/repo/debian stable-stretch InRelease
Hit:17 http://security.ubuntu.com/ubuntu xenial-security InRelease
Fetched 18.1 kB in 1s (14.7 kB/s)
Reading package lists... Done
E: Failed to fetch http://archive.getdeb.net/ubuntu/dis...tdeb/InRelease Clearsigned file isn't valid, got 'NOSPLIT' (does the network require authentication?)
E: Some index files failed to download. They have been ignored, or old ones used instead.
 
Old 11-15-2018, 01:01 PM   #2
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861
The getdeb repo has not been working for a while now, as far as I am aware. You should remove that repo from your software sources.

Note that you have a mix of repos from different versions - xenial, artful, precise. This is *not* good and will break your system. Stick to xenial sources and remove any that refer to other Ubuntu versions.
 
1 members found this post helpful.
Old 11-26-2018, 03:31 AM   #3
Charri
LQ Newbie
 
Registered: Nov 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
Hi Hydrurga,

Thanks for the reply. How do I remove the getdeb repo? Concerning repos from different versions, if I remove them can I replace them with xenial instead? If so how and where from?

Thanks in advance
 
Old 11-26-2018, 03:49 AM   #4
Charri
LQ Newbie
 
Registered: Nov 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
I've tried this but no progress yet:

me@me-ThinkPad-T470:/etc/apt/sources.list.d$ rm getdeb.list
rm: remove write-protected regular file 'getdeb.list'? y
rm: cannot remove 'getdeb.list': Permission denied
me@me-ThinkPad-T470:/etc/apt/sources.list.d$ rm getdeb.list.save
rm: remove write-protected regular file 'getdeb.list.save'? y
rm: cannot remove 'getdeb.list.save': Permission denied
 
Old 11-26-2018, 04:05 AM   #5
jsbjsb001
Senior Member
 
Registered: Mar 2009
Location: Earth? I would say I hope so but I'm not so sure about that... I could just be a figment of your imagination too.
Distribution: Currently OpenMandriva. Previously openSUSE, PCLinuxOS, CentOS, among others over the years.
Posts: 3,071

Rep: Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575Reputation: 1575
Quote:
Originally Posted by Charri View Post
I've tried this but no progress yet:

me@me-ThinkPad-T470:/etc/apt/sources.list.d$ rm getdeb.list
rm: remove write-protected regular file 'getdeb.list'? y
rm: cannot remove 'getdeb.list': Permission denied
me@me-ThinkPad-T470:/etc/apt/sources.list.d$ rm getdeb.list.save
rm: remove write-protected regular file 'getdeb.list.save'? y
rm: cannot remove 'getdeb.list.save': Permission denied
You need to put "sudo" in front of those commands to remove things from the /etc folder. Your output is also messed up.

See my signature below to see how to use CODE tags properly.
 
2 members found this post helpful.
Old 11-26-2018, 07:12 AM   #6
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861
Quote:
Originally Posted by Charri View Post
Hi Hydrurga,

Thanks for the reply. How do I remove the getdeb repo? Concerning repos from different versions, if I remove them can I replace them with xenial instead? If so how and where from?

Thanks in advance
As per jsbjsb001's reply above, those files are owned by root (think of it like they are in the system area of Linux, rather than the user area) and thus you must prefix the rm command with sudo to temporarily gain root powers yourself.

So, for example:

Code:
sudo rm /etc/apt/sources.list.d/getdeb.list
You can also usually remove repos through an application like Ubuntu's Software Center or Mint's Software Sources, but I don't know what the Elementary equivalent is.

Given that the getdeb repo was the precise one, you only have to replace the artful one. Which piece of software did you add that one for?
 
1 members found this post helpful.
Old 11-27-2018, 03:19 AM   #7
Charri
LQ Newbie
 
Registered: Nov 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
As per jsbjsb001's reply above, those files are owned by root (think of it like they are in the system area of Linux, rather than the user area) and thus you must prefix the rm command with sudo to temporarily gain root powers yourself.

So, for example:

Code:
sudo rm /etc/apt/sources.list.d/getdeb.list
You can also usually remove repos through an application like Ubuntu's Software Center or Mint's Software Sources, but I don't know what the Elementary equivalent is.

Given that the getdeb repo was the precise one, you only have to replace the artful one. Which piece of software did you add that one for?

I can't remember why I installed Artful, but it looks like it is related to Microsoft.

Code:
Hit:16 https://packages.microsoft.com/ubuntu/17.10/prod artful InRelease
Get:17 http://packages.microsoft.com/repos/vscode stable/main amd64 Packages [80.5 kB]
 
Old 11-27-2018, 08:35 AM   #8
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861
I think it's Visual Studio. Do you use that application?
 
Old 11-27-2018, 05:34 PM   #9
Charri
LQ Newbie
 
Registered: Nov 2018
Posts: 18

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by hydrurga View Post
I think it's Visual Studio. Do you use that application?

A little bit. I haven't used it for a while now though.
 
Old 11-27-2018, 05:49 PM   #10
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,016
Blog Entries: 5

Rep: Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861Reputation: 2861
Thanks. Actually it appears that Visual Studio is related to the second repository you posted in post #7, but not necessarily the first, i.e. the artful one. I think that the first one might be related to SQL Server.

So, if you use SQL Server, then I suggest that you follow the installation instructions here: https://docs.microsoft.com/en-us/sql...ql-server-2017

Given that you were using the artful repo before, you would probably be best however to remove both the existing SQL Server and repo from your system before installing the correct 16.04 xenial version corresponding to the above instructions.

After you've done everything, please get back to me as we will then need to check that your package system is stable, since you may have been running a system with packages obtained from different version repos.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Error message being received while attempting to update linux debian via terminal using sudo apt-get update david1089 Linux - Newbie 11 06-16-2018 01:00 AM
Not able to run this command "sudo apt-get install libdevil-dev" even after trying "apt-get -f install" getting below error message srihariu1 Linux - Embedded & Single-board computer 2 04-26-2018 06:33 AM
[SOLVED] 404errors when running apt-get update already tried sudo rm /var/lib/apt/lists/* -vf rasec8711 Linux - Software 2 05-31-2012 10:33 AM
sudo apt-get update && sudo apt-get upgrade hallve_revera Linux - Newbie 6 01-10-2009 09:37 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:41 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration