LINUX LITE 7.2 FINAL RELEASED - SEE RELEASE ANNOUNCEMENTS SECTION FOR DETAILS


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Update problem
#1
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?



[Image: EtYqOrS.png%5D]

Left Mac OS X for Linux in Jan 2014
Reply
#2
I'm in 1.08 and if I run the following command in the terminal

Code:
cat /etc/issue

I get the following result

Code:
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
[Image: q7j1yAl.png]
Reply
#3
I get the following result:

Code:
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?



[Image: EtYqOrS.png%5D]

Left Mac OS X for Linux in Jan 2014
Reply
#4
This has been covered in the past, the Default option [default=N] is always the right option to choose.
Reply
#5
Will I have to reinstall LL or is there another option?
[Image: EtYqOrS.png%5D]

Left Mac OS X for Linux in Jan 2014
Reply
#6
@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:
sudo mv /etc/issue /etc/issue.bak

Create a new issue file with the correct information
Code:
sudo bash -c 'echo "Linux Lite 2.0 LTS \n \l" > /etc/issue'
[Image: q7j1yAl.png]
Reply
#7
Coastie,

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


(07-22-2014, 11:05 PM)Coastie link Wrote: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.


(07-22-2014, 11:05 PM)Coastie link Wrote: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.


(07-22-2014, 11:05 PM)Coastie link Wrote: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'


(07-22-2014, 11:05 PM)Coastie link Wrote: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:
sudo apt-get autoremove
Try Linux Beginner Search Engine for answers to Linux questions.
Reply
#8
(07-22-2014, 11:56 PM)Scott(0) link Wrote:@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:
sudo mv /etc/issue /etc/issue.bak

Create a new issue file with the correct information
Code:
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:~$
[Image: EtYqOrS.png%5D]

Left Mac OS X for Linux in Jan 2014
Reply
#9
(07-23-2014, 12:18 AM)gold_finger link Wrote:Coastie,


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

Thanks, think I got that to work but still haven't got LL back..
[Image: EtYqOrS.png%5D]

Left Mac OS X for Linux in Jan 2014
Reply
#10
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:
sudo touch /etc/issue

and now you should be able to run the second command

Code:
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:
cat /etc/issue

you should get this result

Code:
Linux Lite 2.0 LTS \n \l


[Image: q7j1yAl.png]
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)