Synaptic package reload errors

Colin Law clanlaw at gmail.com
Tue Nov 6 20:38:41 UTC 2018


On Tue, 6 Nov 2018 at 18:02, Charles IRONS <irons.charles at gmail.com> wrote:
> ..
> reading with gedit and counting blank lines as well:
>
> line 49 in sources.list looks like
>
> deb http://archive.canonical.com/ubuntu bionic partner
>
> and line 4 in xenial-partner.list is
>
> deb http://archive.canonical.com/ubuntu bionic partner
>
> Now I understand the numbers are lines, so I see the duplication. Will sudo gedit allow me to comment out line 49 in sources.list?

No, don't use sudo with graphical applications or you will end up with
root ownership of X files in your home directory which will cause you
problems later.  Use sudo nano or sudo vim or some other text based
editor.  For simply commenting out lines sudo nano will do the job.
Just use the keyboard to navigate.  When done use Ctrl-O, Enter to
save and Ctrl-X to exit.  Then reload the package info.

Colin



More information about the ubuntu-users mailing list