LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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 02-15-2016, 08:58 PM   #1
dbc254
Member
 
Registered: Oct 2003
Location: Philadelphia
Distribution: Linux Mint 17.3
Posts: 43

Rep: Reputation: 0
Unhappy update help?


Running Kubuntu 14.10 on an AMD64 processor. Whenever I run sudo apt-get update, I get error messages leading me to believe I'm NOT fully updating like I used to...

One of the common responses, alludes to an error retrieving from a slew of i386 directories. I used to think it was normal, because I'm using the AMD64 directories anyway, but I'm not so sure anymore. What can I do to ensure I'm getting all the updates?
 
Old 02-15-2016, 09:08 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
What can I do to ensure I'm getting all the updates?
Ensure that your sources.list is correct:-

https://help.ubuntu.com/community/Repositories/Kubuntu

You can generate a list of repo's here:
https://repogen.simplylinux.ch/
 
Old 02-15-2016, 09:12 PM   #3
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Could you provide the exact wording of the error message, being sure to surround it with "Code" tags which become available when you click the "Go Advanced" button at the bottom of the "compose post" window?

Also, what is the content of your /etc/apt/sources.list file?
 
Old 02-15-2016, 09:40 PM   #4
dbc254
Member
 
Registered: Oct 2003
Location: Philadelphia
Distribution: Linux Mint 17.3
Posts: 43

Original Poster
Rep: Reputation: 0
/etc/apt/sources.list doesn't exit!?!?!

This file is somehow missing!?!?! I don't have access to this directory anyway. Something's definitely amiss. Can't even do a lsb_release-sc. This is getting curiousier and curiousier...
 
Old 02-15-2016, 09:56 PM   #5
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
I based the location of sources.list on Ubuntu. I would be mildly surprised were it somewhere else on Kubuntu, but you could try

Code:
locate sources.list
to find it.

Of course, if sources.list has gone missing, that might be the cause of the problem.
 
Old 02-15-2016, 10:02 PM   #6
dbc254
Member
 
Registered: Oct 2003
Location: Philadelphia
Distribution: Linux Mint 17.3
Posts: 43

Original Poster
Rep: Reputation: 0
locate sources.list

OK, the file(s) are there in numerous directories, but I don't have permission anymore!?!?! I'm the only user on this machine and never changed anything... I live alone, so unless someone broke in, didn't steal anything and changed this setting, I don't know how it got changed. How do I gain access to my own machine!?!?!
 
Old 02-15-2016, 10:12 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Try using the commands with "sudo" and let us know what happens. It's been while since I used a *buntu on a regular basis.

Code:
sudo cat /etc/apt/sources.list
sudo updatedb
sudo locate sources.list
sudo ls /etc/ | grep sources
Step-by-step, we'll figure this out.

By the way, Philadelphia is one of the great American cities. I used to live in the area and First Daughter is still there.

Last edited by frankbell; 02-15-2016 at 10:18 PM.
 
Old 02-15-2016, 10:24 PM   #8
dbc254
Member
 
Registered: Oct 2003
Location: Philadelphia
Distribution: Linux Mint 17.3
Posts: 43

Original Poster
Rep: Reputation: 0
unable to resolve host

Again, I've made NO changes. It's like the system somehow got changed, but I have NO clue other than someone breaking into my home and making these changes...
 
Old 02-15-2016, 10:43 PM   #9
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
What command produced "unable to resolve host"? Context matters.

I'm probably done for the night, but, again, we'll figure this out. Figuring stuff out is what LQ does.
 
Old 02-16-2016, 06:42 AM   #10
dbc254
Member
 
Registered: Oct 2003
Location: Philadelphia
Distribution: Linux Mint 17.3
Posts: 43

Original Poster
Rep: Reputation: 0
What command generates that error?

Almost any sudo command; sudo apt update, sudo apt-get install <file.name> It's like my machine is given a name as "host" Maybe I did this during initial setup ages ago? Is there a way to blow all that away? Maybe during setup, I was asked to call my machine something?
 
Old 02-16-2016, 03:24 PM   #11
Higgsboson
Member
 
Registered: Dec 2014
Location: UK
Distribution: Debian 8 Cinnamon/Xfce/gnome classic Debian live usb
Posts: 508

Rep: Reputation: 50
Quote:
Originally Posted by dbc254 View Post
Almost any sudo command; sudo apt update, sudo apt-get install <file.name> It's like my machine is given a name as "host" Maybe I did this during initial setup ages ago? Is there a way to blow all that away? Maybe during setup, I was asked to call my machine something?
If you receive an error message or any message, please post the output so others can see it.
It is much better to see an error message on your system rather than your personal opinions on what you feel. To resolve the problem, the error messages need to be seen.
 
Old 02-16-2016, 04:03 PM   #12
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
If you don't post the output of what the commands return in the terminal that frankbell asked you for we can't guess what is wrong.

-::-SEE post #7-::-
 
Old 02-16-2016, 04:33 PM   #13
dbc254
Member
 
Registered: Oct 2003
Location: Philadelphia
Distribution: Linux Mint 17.3
Posts: 43

Original Poster
Rep: Reputation: 0
Here's an example

dbc254@DBC254:~$ sudo -i
sudo: unable to resolve host DBC254
root@DBC254:~#
 
Old 02-16-2016, 08:48 PM   #14
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,324
Blog Entries: 28

Rep: Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142Reputation: 6142
Why are you running

Code:
sudo -i
and not just

Code:
sudo [some command], such as
sudo ls /etc/apt   <-------for example
The -i argument does not apply in this situation.

I think you are making this more complicated than it needs to be.
 
Old 02-16-2016, 09:07 PM   #15
dbc254
Member
 
Registered: Oct 2003
Location: Philadelphia
Distribution: Linux Mint 17.3
Posts: 43

Original Poster
Rep: Reputation: 0
why sudo -i

It was suggested in the steps of a "fix" I found. I ended up switching to Linux Mint 17.4 (KDE) and loading all my personal files and settings. Pretty seamless and I'm up and running with NO update issues. Instead of all the futzing I did with kubuntu, I should've tried this first. Fortunately, I keep backups, so I swapped distros, but all my data was backed up. Just slapped it back on and VOILA! Workmate suggested this distro. Seems to be a little quicker, but time will tell...
 
  


Reply



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
yum check-update shows Update is broken, or a bad duplicate, skipping aneeshcna Linux - Newbie 4 09-13-2015 04:19 PM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Software 4 05-06-2007 10:27 AM
redhat linux update databse's type and utility like windows update services kamii47 Linux - General 1 04-18-2005 05:50 AM
Problems with NVIDIA drivers after kernel update with yast online update Sheytan Linux - Distributions 0 10-13-2004 11:01 AM
write an update query in shell prompt to update the database in sqlserver suchi_s Programming 2 09-29-2004 07:27 AM

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

All times are GMT -5. The time now is 06:50 PM.

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
Open Source Consulting | Domain Registration