You are Here:
Linux Lite 4.6 Final has been released. See the Release Announcements section for more information.



Update problem

Author (Read 10497 times)

0 Members and 1 Guest are viewing this topic.

Update problem
« on: July 22, 2014, 03:45:36 PM »
 

Coastie

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 656
    Posts
  • Country: us
  • Reputation: 51
  • Linux Lite User

  • Linux Lite: 3.8 64bit

  • CPU: AMD A10-6700 (ASUS M32)

  • MEMORY: 12Gb

  • VIDEO CARD: ADM Radeon HD (integrated)
Updated a few minutes ago using "Install Updates" and received this message:


Configuration file '/etc/issue'
 ==> Modified (by you or by a script) since installation.
 ==> Package distributor has shipped an updated version.
   What would you like to do about it ?  Your options are:
    Y or I  : install the package maintainer's version
    N or O  : keep your currently-installed version
      D     : show the differences between the versions
      Z     : start a shell to examine the situation
 The default action is to keep your current version.
*** issue (Y/I/N/O/D/Z) [default=N] ?

Had to try a couple of times to catch to copy a couple of times before "Install Updates" terminal window closed because I "interrupted" by closing the window.

 When I entered D:

The following packages were automatically installed and are no longer required:
  atomicparsley get-iplayer id3v2 libany-moose-perl libclass-load-perl
  libclass-method-modifiers-perl libclass-singleton-perl
  libcrypt-blowfish-perl libcrypt-rijndael-perl libdata-amf-perl
  libdata-optlist-perl libdatetime-locale-perl libdatetime-perl
  libdatetime-timezone-perl libhttp-server-simple-perl libid3-3.8.3c2a
  libio-socket-socks-perl liblist-moreutils-perl liblwp-protocol-socks-perl
  libmodule-implementation-perl libmodule-runtime-perl libmouse-perl
  libmp3-info-perl libpackage-stash-perl libpackage-stash-xs-perl
  libparams-classify-perl libparams-util-perl libparams-validate-perl
  libsub-install-perl libtie-ixhash-perl libtry-tiny-perl
  libunicode-string-perl libuniversal-require-perl libwww-mechanize-perl
  rtmpdump
Use 'apt-get autoremove' to remove them.

Not sure what the above items above are. (Firefox and Thunderbird were updated.)

I tried instruction and got the following:

coastie@coastie-desktop:~$ apt-get autoremove
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
coastie@coastie-desktop:~$ su  apt-get autoremove
No passwd entry for user 'apt-get'
coastie@coastie-desktop:~$ linux
The program 'linux' is currently not installed. You can install it by typing:
sudo apt-get install user-mode-linux


What does this mean and what should I do about it?





Left Mac OS X for Linux in Jan 2014
 


Re: Update problem
« Reply #1 on: July 22, 2014, 03:58:51 PM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 858
    Posts
  • Country: 00
  • Reputation: 186
  • Linux Lite Member

  • Linux Lite: 3.4 64bit

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
I'm in 1.08 and if I run the following command in the terminal

Code: [Select]
cat /etc/issue
I get the following result

Code: [Select]
Linux Lite 1.0.8 LTS \n \l

If you choose the option:
keep your currently-installed version
you will retain the LL issue information

If you choose the option to
install the package maintainer's version
you will *probably* replace the LL issue information with something from Ubuntu
 

Re: Update problem
« Reply #2 on: July 22, 2014, 04:19:03 PM »
 

Coastie

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 656
    Posts
  • Country: us
  • Reputation: 51
  • Linux Lite User

  • Linux Lite: 3.8 64bit

  • CPU: AMD A10-6700 (ASUS M32)

  • MEMORY: 12Gb

  • VIDEO CARD: ADM Radeon HD (integrated)
I get the following result:

Code: [Select]
Ubuntu 14.04.1 LTS \n \l and the same thing in a System Information report. Looks like Ubuntu has screwed me.

I should have picked N to keep LL 2.0. I thought the package maintainer was Linux Lite (Valtam) because some of the updates are from Linux Lite (Valtam).

Will I have to reinstall LL or is there another option?



Last Edit: July 22, 2014, 07:04:09 PM by Coastie


Left Mac OS X for Linux in Jan 2014
 

Re: Update problem
« Reply #3 on: July 22, 2014, 06:52:24 PM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7071
    Posts
  • Country: nz
  • Reputation: 662
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 960
This has been covered in the past, the Default option [default=N] is always the right option to choose.
 

Re: Update problem
« Reply #4 on: July 22, 2014, 07:05:06 PM »
 

Coastie

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 656
    Posts
  • Country: us
  • Reputation: 51
  • Linux Lite User

  • Linux Lite: 3.8 64bit

  • CPU: AMD A10-6700 (ASUS M32)

  • MEMORY: 12Gb

  • VIDEO CARD: ADM Radeon HD (integrated)
Will I have to reinstall LL or is there another option?


Left Mac OS X for Linux in Jan 2014
 

Re: Update problem
« Reply #5 on: July 22, 2014, 07:56:18 PM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 858
    Posts
  • Country: 00
  • Reputation: 186
  • Linux Lite Member

  • Linux Lite: 3.4 64bit

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
@Coastie
No, you don't need to reinstall. The issue file can be easily replaced with the correct information.

Backup the current issue file
Code: [Select]
sudo mv /etc/issue /etc/issue.bak
Create a new issue file with the correct information
Code: [Select]
sudo bash -c 'echo "Linux Lite 2.0 LTS \n \l" > /etc/issue'
 

Re: Update problem
« Reply #6 on: July 22, 2014, 08:18:07 PM »
 

gold_finger

  • Documentation Writer
  • Platinum Level Poster
  • *****
  • 1095
    Posts
  • Country: us
  • Reputation: 323
  • Linux Lite Member

  • Linux Lite: 3.2 64bit

  • CPU: Intel Core2 Duo E7500 3.0GHz

  • MEMORY: 4Gb

  • VIDEO CARD: Intel 4 Series Integrated Graphics
Coastie,

Scott(0) already answered that no install is necessary.  I'll just go through rest of your original post.


The following packages were automatically installed and are no longer required:
  atomicparsley get-iplayer id3v2 libany-moose-perl libclass-load-perl
  libclass-method-modifiers-perl libclass-singleton-perl
  libcrypt-blowfish-perl libcrypt-rijndael-perl libdata-amf-perl
  libdata-optlist-perl libdatetime-locale-perl libdatetime-perl
  libdatetime-timezone-perl libhttp-server-simple-perl libid3-3.8.3c2a
  libio-socket-socks-perl liblist-moreutils-perl liblwp-protocol-socks-perl
  libmodule-implementation-perl libmodule-runtime-perl libmouse-perl
  libmp3-info-perl libpackage-stash-perl libpackage-stash-xs-perl
  libparams-classify-perl libparams-util-perl libparams-validate-perl
  libsub-install-perl libtie-ixhash-perl libtry-tiny-perl
  libunicode-string-perl libuniversal-require-perl libwww-mechanize-perl
  rtmpdump
Use 'apt-get autoremove' to remove them.

Not sure what the above items above are. (Firefox and Thunderbird were updated.)
Above is just listing packages that are currently on the system but no longer needed.  They are not necessarily something that just happened during the update.  Some/most were probably installed as dependencies for programs that you later removed from the system.  They'll stay on the system unused unless you run that command to remove them.


I tried instruction and got the following:

coastie@coastie-desktop:~$ apt-get autoremove
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
You ran the command and saw that you needed to run it as root.


coastie@coastie-desktop:~$ su  apt-get autoremove
No passwd entry for user 'apt-get'
Here you ran the su command instead of sudo; so system thought you were trying to switch to user named "apt-get" and reported back with
Quote
No passwd entry for user 'apt-get'


coastie@coastie-desktop:~$ linux
The program 'linux' is currently not installed. You can install it by typing:
sudo apt-get install user-mode-linux
Not sure what you were doing here, so just going to ignore it.


To get rid of packages that are no longer needed, just run the above command like this:
Code: [Select]
sudo apt-get autoremove
Try Linux Beginner Search Engine for answers to Linux questions.
 

Re: Update problem
« Reply #7 on: July 22, 2014, 08:50:37 PM »
 

Coastie

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 656
    Posts
  • Country: us
  • Reputation: 51
  • Linux Lite User

  • Linux Lite: 3.8 64bit

  • CPU: AMD A10-6700 (ASUS M32)

  • MEMORY: 12Gb

  • VIDEO CARD: ADM Radeon HD (integrated)
@Coastie
No, you don't need to reinstall. The issue file can be easily replaced with the correct information.

Backup the current issue file
Code: [Select]
sudo mv /etc/issue /etc/issue.bak
Create a new issue file with the correct information
Code: [Select]
sudo bash -c 'echo "Linux Lite 2.0 LTS \n \l" > /etc/issue'

Ran first instruction above:

coastie@coastie-desktop:~$ sudo mv /etc/issue /etc/issue.bak

[sudo] password for coastie:
entered password

then got:

mv: cannot stat ‘/etc/issue’: No such file or director

Tried second and got:
coastie@coastie-desktop:~$ sudo bash -c 'echo "Linux Lite 2.0 LTS \n \l" > /etc/issue'
[sudo] password for coastie:

entered password

then goes back to
coastie@coastie-desktop:~$


Left Mac OS X for Linux in Jan 2014
 

Re: Update problem
« Reply #8 on: July 22, 2014, 08:55:23 PM »
 

Coastie

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 656
    Posts
  • Country: us
  • Reputation: 51
  • Linux Lite User

  • Linux Lite: 3.8 64bit

  • CPU: AMD A10-6700 (ASUS M32)

  • MEMORY: 12Gb

  • VIDEO CARD: ADM Radeon HD (integrated)
Coastie,


To get rid of packages that are no longer needed, just run the above command like this:
Code: [Select]
sudo apt-get autoremove

Thanks, think I got that to work but still haven't got LL back..
Last Edit: July 22, 2014, 10:30:36 PM by Coastie


Left Mac OS X for Linux in Jan 2014
 

Re: Update problem
« Reply #9 on: July 23, 2014, 12:51:14 AM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 858
    Posts
  • Country: 00
  • Reputation: 186
  • Linux Lite Member

  • Linux Lite: 3.4 64bit

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
When you run the first command you get the following error:

Quote
mv: cannot stat ‘/etc/issue’: No such file or director

because the file issue is not there.


In reply #2 of this post you entered this command

Quote
cat /etc/issue

and got this result

Quote
Ubuntu 14.04.1 LTS \n \l

so the file issue was there.

Sometime between then and now the issue file was removed. This isn't a problem, it can be created easily with this command

Code: [Select]
sudo touch /etc/issue
and now you should be able to run the second command

Code: [Select]
sudo bash -c 'echo "Linux Lite 2.0 LTS \n \l" > /etc/issue'
now we can run a test to see if the issue file is correct

Code: [Select]
cat /etc/issue
you should get this result

Code: [Select]
Linux Lite 2.0 LTS \n \l

 

Re: Update problem
« Reply #10 on: July 23, 2014, 04:12:16 AM »
 

robert

  • New to Forums
  • *
  • 45
    Posts
  • Country: gb
  • Reputation: 5
  • Linux Lite Member

  • MEMORY: 2Gb
Well that last update was interesting!
I got same messages and selected N
Then got a message relating to Grub left it the same.

Oh and the opening welcome sound..........Nice Valtam :)
 

Re: Update problem
« Reply #11 on: July 23, 2014, 04:15:14 AM »
 

Jerry

  • Linux Lite Creator
  • Administrator
  • Platinum Level Poster
  • *****
  • 7071
    Posts
  • Country: nz
  • Reputation: 662
  • Linux Lite Member
    • Linux Lite OS

  • Linux Lite: 3.8 64bit

  • CPU: Intel Xeon Dual CPU's E5645 2.4GHz 12 Cores

  • MEMORY: 16Gb

  • VIDEO CARD: nVidia GeForce GTX 960
Cheers Robert :)
 

Re: Update problem
« Reply #12 on: July 23, 2014, 11:14:58 AM »
 

Coastie

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 656
    Posts
  • Country: us
  • Reputation: 51
  • Linux Lite User

  • Linux Lite: 3.8 64bit

  • CPU: AMD A10-6700 (ASUS M32)

  • MEMORY: 12Gb

  • VIDEO CARD: ADM Radeon HD (integrated)
@Coastie
No, you don't need to reinstall. ...

I posted above when I think I correctly tried what Scott(0) recommended but got the results posted. System Information still says my OS is Ubuntu 14.04.01 LTS. Everything seems to be working as normal but I do not think I will get updates for Linux Lite 2.0.

Should I reinstall?


Left Mac OS X for Linux in Jan 2014
 

Re: Update problem
« Reply #13 on: July 23, 2014, 11:23:33 AM »
 

Scott

  • Global Moderator
  • Gold Level Poster
  • *****
  • 858
    Posts
  • Country: 00
  • Reputation: 186
  • Linux Lite Member

  • Linux Lite: 3.4 64bit

  • CPU: Dual core Intel Core i3 M 330

  • MEMORY: 6Gb

  • VIDEO CARD: Intel Integrated Graphics
Hi Coastie

Let's start over. Please run these two commands and post the results. Thank you.

cat /etc/issue
cat /etc/lsb-release
 

Re: Update problem
« Reply #14 on: July 23, 2014, 11:54:22 AM »
 

Coastie

  • PayPal Supporter
  • Gold Level Poster
  • *****
  • 656
    Posts
  • Country: us
  • Reputation: 51
  • Linux Lite User

  • Linux Lite: 3.8 64bit

  • CPU: AMD A10-6700 (ASUS M32)

  • MEMORY: 12Gb

  • VIDEO CARD: ADM Radeon HD (integrated)
will@will-desktop:~$ cat /etc/issue
Linux Lite 2.0 LTS \n \l
will@will-desktop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"
will@will-desktop:~$


Coastie, a.k.a. Will


Left Mac OS X for Linux in Jan 2014
 


Tags:
 


Linux Lite 4.6 Final has been released. See the Release Announcements section for more information.