Upgraded to 16.04

Asked by davidzaq1

Hello,

I upgraded my ubuntu to 16.04. I ran sudo apt-get update and sudo apt-get upgrade. the following is the output.

$ sudo apt-get update
[sudo] password for stanw:
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Get:3 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Hit:4 http://archive.canonical.com/ubuntu xenial InRelease
Get:5 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Hit:6 http://archive.canonical.com xenial InRelease
Fetched 306 kB in 2s (125 kB/s)
Reading package lists... Done
N: Ignoring file '50unattended-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
W: Target Sources (partner/source/Sources) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:57
W: Target Sources (partner/source/Sources) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
W: Target Sources (partner/source/Sources) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:57
W: Target Sources (partner/source/Sources) is configured multiple times in /etc/apt/sources.list:56 and /etc/apt/sources.list:58
stanw@roo2:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following package was automatically installed and is no longer required:
  empathy-common
Use 'sudo apt autoremove' to remove it.
The following packages have been kept back:
  libparse-debianchangelog-perl
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
N: Ignoring file '50unattended-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension

I think there are a few problems but not sure. Can you look it over and see if there is anything that needs to be fixed?
I keep getting error messages saying that Ubuntu has experienced errors.

Thank you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
davidzaq1
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

sudo rm /etc/apt/apt.conf.d/50unattended-upgrades.ucf-dist

Then, what is the output of:

sudo grep -r partner /etc/apt/*

Thanks

Revision history for this message
davidzaq1 (david3a9x) said :
#2

Thank you for the reply,

Here is the output:

$ sudo grep -r partner /etc/apt/*
/etc/apt/sources.list:## 'partner' repository.
/etc/apt/sources.list:deb http://archive.canonical.com/ubuntu xenial partner
/etc/apt/sources.list:deb-src http://archive.canonical.com/ubuntu xenial partner
/etc/apt/sources.list:deb http://archive.canonical.com/ xenial partner
/etc/apt/sources.list:deb-src http://archive.canonical.com/ xenial partner
/etc/apt/sources.list:deb-src http://archive.canonical.com/ xenial partner
/etc/apt/sources.list:deb-src http://archive.canonical.com/ xenial partner
/etc/apt/sources.list.distUpgrade:## 'partner' repository.
/etc/apt/sources.list.distUpgrade:deb http://archive.canonical.com/ubuntu trusty partner
/etc/apt/sources.list.distUpgrade:deb-src http://archive.canonical.com/ubuntu trusty partner
/etc/apt/sources.list.distUpgrade:deb http://archive.canonical.com/ trusty partner
/etc/apt/sources.list.distUpgrade:deb-src http://archive.canonical.com/ trusty partner
/etc/apt/sources.list.distUpgrade:deb-src http://archive.canonical.com/ trusty partner
/etc/apt/sources.list.distUpgrade:deb-src http://archive.canonical.com/ trusty partner
/etc/apt/sources.list.save:## 'partner' repository.
/etc/apt/sources.list.save:deb http://archive.canonical.com/ubuntu xenial partner
/etc/apt/sources.list.save:deb-src http://archive.canonical.com/ubuntu xenial partner
/etc/apt/sources.list.save:deb http://archive.canonical.com/ xenial partner
/etc/apt/sources.list.save:deb-src http://archive.canonical.com/ xenial partner
/etc/apt/sources.list.save:deb-src http://archive.canonical.com/ xenial partner
/etc/apt/sources.list.save:deb-src http://archive.canonical.com/ xenial partner

Thank you,

Revision history for this message
Manfred Hampl (m-hampl) said :
#3

What is the output of the command

cat -n /etc/apt/sources.list

Revision history for this message
davidzaq1 (david3a9x) said :
#4

Here is the output,

$ cat -n /etc/apt/sources.list
     1 # deb cdrom:[Ubuntu 14.04.4 LTS _Trusty Tahr_ - Release amd64 (20160217.1)]/ trusty main restricted
     2
     3 # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4 # newer versions of the distribution.
     5 deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
     6 deb-src http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
     7
     8 ## Major bug fix updates produced after the final release of the
     9 ## distribution.
    10 deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    11 deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    12
    13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    14 ## team. Also, please note that software in universe WILL NOT receive any
    15 ## review or updates from the Ubuntu security team.
    16 deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
    17 deb-src http://us.archive.ubuntu.com/ubuntu/ xenial universe
    18 deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
    19 deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
    20
    21 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    22 ## team, and may not be under a free licence. Please satisfy yourself as to
    23 ## your rights to use the software. Also, please note that software in
    24 ## multiverse WILL NOT receive any review or updates from the Ubuntu
    25 ## security team.
    26 deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
    27 deb-src http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
    28 deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    29 deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    30
    31 ## N.B. software from this repository may not have been tested as
    32 ## extensively as that contained in the main release, although it includes
    33 ## newer versions of some applications which may provide useful features.
    34 ## Also, please note that software in backports WILL NOT receive any review
    35 ## or updates from the Ubuntu security team.
    36 deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
    37 deb-src http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
    38
    39 deb http://security.ubuntu.com/ubuntu xenial-security main restricted
    40 deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
    41 deb http://security.ubuntu.com/ubuntu xenial-security universe
    42 deb-src http://security.ubuntu.com/ubuntu xenial-security universe
    43 deb http://security.ubuntu.com/ubuntu xenial-security multiverse
    44 deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
    45
    46 ## Uncomment the following two lines to add software from Canonical's
    47 ## 'partner' repository.
    48 ## This software is not part of Ubuntu, but is offered by Canonical and the
    49 ## respective vendors as a service to Ubuntu users.
    50 deb http://archive.canonical.com/ubuntu xenial partner
    51 deb-src http://archive.canonical.com/ubuntu xenial partner
    52
    53 # deb http://download.videolan.org/pub/debian/stable/ /
    54 # deb-src http://download.videolan.org/pub/debian/stable/ /
    55 deb http://archive.canonical.com/ xenial partner
    56 deb-src http://archive.canonical.com/ xenial partner
    57 deb-src http://archive.canonical.com/ xenial partner
    58 deb-src http://archive.canonical.com/ xenial partner
stanw@roo2:~$

I also had a question about the speed of the system.

At startup, Ubuntu seems to load really slow. Is this an issue with the driver or is that my computer is from 2007?

Thank you.

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

Please stick to the rule "one question - one topic".

For the "duplicate" warning of the package management:
The last lines in the sources.list configuration file are repeating.

Proposal for solution:
Edit the sources.list file with the command

sudo gedit /etc/apt/sources.list

Scroll down to the end of the file and delete the last four lines (containing the word "partner", below the lines with "videolan").
Save the file and close the editor, and then re-check with the command

sudo apt-get update

What output do you get now?

Revision history for this message
davidzaq1 (david3a9x) said :
#6

Ok, thank you.

I am sorry. I will only post one question at a time.

I followed the commands above. As I did it, things changed in the terminal.

Here is what showed up before I did the sudo apt-get update.

$ sudo gedit /etc/apt/sources.list
[sudo] password for stanw:

(gedit:3639): Gtk-WARNING **: Calling Inhibit failed: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

** (gedit:3639): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-spell-enabled not supported

** (gedit:3639): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-encoding not supported

** (gedit:3639): WARNING **: Set document metadata failed: Setting attribute metadata::gedit-position not supported

I am not sure if this needs to be fixed.

Thank you

Revision history for this message
Manfred Hampl (m-hampl) said :
#7

Those warnings can be ignored, but what is now the output of the command

sudo apt-get update

Revision history for this message
davidzaq1 (david3a9x) said :
#8

Ok, here is the output:

$ sudo apt-get update
[sudo] password for stanw:
Sorry, try again.
[sudo] password for stanw:
Hit:1 http://us.archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://us.archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
Get:3 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:4 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease
Hit:5 http://archive.canonical.com/ubuntu xenial InRelease
Get:6 http://us.archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]
Get:7 http://us.archive.ubuntu.com/ubuntu xenial-updates/main Sources [235 kB]
Get:8 http://security.ubuntu.com/ubuntu xenial-security/main Sources [62.4 kB]
Get:9 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [488 kB]
Get:10 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages [226 kB]
Get:11 http://us.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [479 kB]
Get:12 http://us.archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [288 kB]
Get:13 http://us.archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [190 kB]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/main i386 Packages [218 kB]
Get:15 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [432 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [54.2 kB]
Get:17 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [423 kB]
Get:18 http://security.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [42.4 kB]
Get:19 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 Packages [92.5 kB]
Get:20 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [139 kB]
Get:21 http://security.ubuntu.com/ubuntu xenial-security/universe i386 Packages [85.4 kB]
Get:22 http://us.archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [169 kB]
Get:23 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [32.1 kB]
Get:24 http://security.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [37.0 kB]
Get:25 http://us.archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [2,516 B]
Get:26 http://us.archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,324 B]
Fetched 4,006 kB in 11s (356 kB/s)
Reading package lists... Done

Thank you

Revision history for this message
Manfred Hampl (m-hampl) said :
#9

No warnings or error messages any more, looks fine.
Do you still get the error pop-up "Ubuntu has experienced errors..."?

Revision history for this message
davidzaq1 (david3a9x) said :
#10

No, nothing popping up any longer.

Thank for your help!!!