VirtualBox segfault in VBoxDD.so

September 6, 2018 Leave a comment

A long time since last post!

I recover an old draft of a VirtualBox problem: Segfault in VBoxDD.so

$ dmesg | tail
[1211809.687447] device eth0 left promiscuous mode
[1211809.708933] vboxnetflt: 0 out of 49 packets were not sent (directed to host)
[1214891.002928] device eth0 entered promiscuous mode
[1214912.804885] EMT[6529]: segfault at 618 ip 00007fd956ab85f1 sp 00007fd990ab0c40 error 4 in VBoxDD.so[7fd956a0a000+17a000]
[1214913.358747] device eth0 left promiscuous mode
[1214913.381696] vboxnetflt: 0 out of 113 packets were not sent (directed to host)
[1214921.662065] device eth0 entered promiscuous mode
[1214937.759475] EMT[6649]: segfault at 618 ip 00007efd36f195f1 sp 00007efd70d0ac40 error 4 in VBoxDD.so[7efd36e6b000+17a000]
[1214937.988010] device eth0 left promiscuous mode
[1214938.008052] vboxnetflt: 0 out of 73 packets were not sent (directed to host)

The solution is far simple: just download the extension pack according to the VirtualBox version from https://www.virtualbox.org/wiki/Downloads

Categories: ubuntu, virtual box Tags: ,

2015 in review

January 11, 2016 Leave a comment

The WordPress.com stats helper monkeys prepared a 2015 annual report for this blog.

Here’s an excerpt:

Madison Square Garden can seat 20,000 people for a concert. This blog was viewed about 66,000 times in 2015. If it were a concert at Madison Square Garden, it would take about 3 sold-out performances for that many people to see it.

Click here to see the complete report.

Categories: Uncategorized

Install Digikam 4.14 on Ubuntu 14.04

December 6, 2015 Leave a comment

Digikam 14.04

I love Digikam to manage my pictures. I want to install the latest stable release on Ubuntu 14.04.

Thanks to Philip Johnsson that maintains the ppa for Ubuntu:

https://launchpad.net/~philip5

First of all, add his ppa:

sudo add-apt-repository ppa:philip5/extra
sudo apt-get update

Now you can install digikam:

$ sudo apt-get install digikam
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 digikam : Depends: kdepim-runtime but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Trying to upgrade and reinstall digikam…

sudo apt-get upgrade
[...]
sudo apt-get install digikam

with no luck. apt-get is not able to resolve the unmet dependencies. In this situations, it’s better to use aptitude instead of apt-get:

$ sudo aptitude install digikam
The following NEW packages will be installed:
  akonadi-backend-mysql{a} akonadi-server{a} consolekit{a} digikam digikam-data{a} docbook-xml{a} docbook-xsl{a} enblend{a} enfuse{a} ffmpegthumbs{a} freeglut3{a} hugin{a} hugin-data{a} hugin-tools{a} 
  icoutils{a} kate-data{a} katepart{a} kde-runtime{a} kde-runtime-data{a} kdelibs-bin{a} kdelibs5-data{a} kdelibs5-plugins{a} kdepim-runtime{a} kdepimlibs-kio-plugins{a} kdoctools{a} kipi-plugins{a} 
  kipi-plugins-common{a} kubuntu-debug-installer{a} libaccounts-qt1{a} libakonadi-calendar4{a} libakonadi-contact4{a} libakonadi-kabc4{a} libakonadi-kcal4{a} libakonadi-kde4{a} libakonadi-kmime4{a} 
  libakonadi-notes4{a} libakonadi-socialutils4{a} libakonadiprotocolinternals1{a} libastro1{a} libattica0.4{a} libbaloocore4{a} libbaloofiles4{a} libbalooxapian4{a} libboost-filesystem1.54.0{a} 
  libboost-program-options1.54.0{a} libboost-regex1.54.0{a} libboost-signals1.54.0{a} libboost-thread1.54.0{a} libdbusmenu-qt2{a} libdlrestrictions1{a} libdmtx0a{a} libepub0{a} libexiv2-14{a} libglew1.10{a} 
  libgps20{a} libgsl0ldbl{a} libimage-exiftool-perl{a} libkabc4{a} libkactivities-bin{a} libkactivities-models1{a} libkactivities6{a} libkalarmcal2{a} libkatepartinterfaces4{a} libkcal4{a} libkcalcore4{a} 
  libkcalutils4{a} libkcmutils4{a} libkdcraw-data{a} libkdcraw23{a} libkde3support4{a} libkdeclarative5{a} libkdecore5{a} libkdesu5{a} libkdeui5{a} libkdewebkit5{a} libkdnssd4{a} libkemoticons4{a} 
  libkexiv2-11{a} libkexiv2-data{a} libkface-data{a} libkface3{a} libkfbapi1{a} libkfile4{a} libkgapi2-2{a} libkgeomap-data{a} libkgeomap2{a} libkholidays4{a} libkhtml5{a} libkidletime4{a} libkimap4{a} 
  libkio5{a} libkipi-data{a} libkipi11{a} libkjsapi4{a} libkjsembed4{a} libkldap4{a} libkmbox4{a} libkmediaplayer4{a} libkmime4{a} libknewstuff3-4{a} libknotifyconfig4{a} libkntlm4{a} libkolab0{a} 
  libkolabxml1{a} libkparts4{a} libkpimidentities4{a} libkpimtextedit4{a} libkpimutils4{a} libkpty4{a} libkqoauth0{a} libkresources4{a} libkrosscore4{a} libksane-data{a} libksane0{a} libktexteditor4{a} 
  libkubuntu0{a} libkvkontakte1{a} libkxmlrpcclient4{a} liblensfun-data{a} liblensfun0{a} libmailtransport4{a} libmarblewidget18{a} libmediawiki1{a} libmicroblog4{a} libnepomuk4{a} libnepomukcleaner4{a} 
  libnepomukcore4abi1{a} libnepomukquery4a{a} libnepomukutils4{a} libntrack-qt4-1{a} libntrack0{a} libopencv-photo2.4{a} libpam-ck-connector{a} libpano13-2{a} libpano13-bin{a} libpgf6{a} libphonon4{a} 
  libplasma3{a} libpolkit-qt-1-1{a} libpoppler-qt4-4{a} libprison0{a} libqapt2{a} libqapt2-runtime{a} libqca2{a} libqextserialport1{a} libqjson0{a} libqmobipocket1{a} libqrencode3{a} libqt4-designer{a} 
  libqt4-qt3support{a} libqt4-svg{a} libqtglib-2.0-0{a} libqtgstreamer-0.10-0{a} libqtgstreamerutils-0.10-0{a} libqtlocation1{a} libqtsolutions-soap-head1{a} libqtwebkit4{a} libquazip0{a} libraw10{a} 
  libshp1{a} libsignon-qt1{a} libsolid4{a} libsoprano4{a} libsqlite0{a} libstreamanalyzer0{a} libstreams0{a} libthreadweaver4{a} libvigraimpex5{a} libvirtodbc0{a} libwlocate0{a} libzthread-2.3-2{a} 
  marble-data{a} marble-plugins{a} mysql-client-core-5.5{a} mysql-server-core-5.5{a} nepomuk-core-data{a} nepomuk-core-runtime{a} ntrack-module-libnl-0{a} oxygen-icon-theme{a} phonon{a} 
  phonon-backend-gstreamer{a} phonon-backend-gstreamer-common{a} phonon-backend-gstreamer1.0{a} plasma-scriptengine-javascript{a} qapt-batch{a} sgml-data{a} shared-desktop-ontologies{a} soprano-daemon{a} 
  virtuoso-minimal{a} virtuoso-opensource-6.1-bin{a} virtuoso-opensource-6.1-common{a} 
0 packages upgraded, 191 newly installed, 0 to remove and 5 not upgraded.
Need to get 26.0 MB/157 MB of archives. After unpacking 516 MB will be used.
The following packages have unmet dependencies:
 mysql-server-core-5.6 : Breaks: mysql-server-core-5.5 but 5.5.46-0ubuntu0.14.04.2 is to be installed.
 mysql-client-core-5.6 : Breaks: mysql-client-core-5.5 but 5.5.46-0ubuntu0.14.04.2 is to be installed.
The following actions will resolve these dependencies:

     Remove the following packages:
1)     mysql-client-5.6            
2)     mysql-client-core-5.6       
3)     mysql-server-5.6            
4)     mysql-server-core-5.6       



Accept this solution? [Y/n/q/?] 
The following NEW packages will be installed:
  akonadi-backend-mysql{a} akonadi-server{a} consolekit{a} digikam digikam-data{a} docbook-xml{a} docbook-xsl{a} enblend{a} enfuse{a} ffmpegthumbs{a} freeglut3{a} hugin{a} hugin-data{a} hugin-tools{a} 
  icoutils{a} kate-data{a} katepart{a} kde-runtime{a} kde-runtime-data{a} kdelibs-bin{a} kdelibs5-data{a} kdelibs5-plugins{a} kdepim-runtime{a} kdepimlibs-kio-plugins{a} kdoctools{a} kipi-plugins{a} 
  kipi-plugins-common{a} kubuntu-debug-installer{a} libaccounts-qt1{a} libakonadi-calendar4{a} libakonadi-contact4{a} libakonadi-kabc4{a} libakonadi-kcal4{a} libakonadi-kde4{a} libakonadi-kmime4{a} 
  libakonadi-notes4{a} libakonadi-socialutils4{a} libakonadiprotocolinternals1{a} libastro1{a} libattica0.4{a} libbaloocore4{a} libbaloofiles4{a} libbalooxapian4{a} libboost-filesystem1.54.0{a} 
  libboost-program-options1.54.0{a} libboost-regex1.54.0{a} libboost-signals1.54.0{a} libboost-thread1.54.0{a} libdbusmenu-qt2{a} libdlrestrictions1{a} libdmtx0a{a} libepub0{a} libexiv2-14{a} libglew1.10{a} 
  libgps20{a} libgsl0ldbl{a} libimage-exiftool-perl{a} libkabc4{a} libkactivities-bin{a} libkactivities-models1{a} libkactivities6{a} libkalarmcal2{a} libkatepartinterfaces4{a} libkcal4{a} libkcalcore4{a} 
  libkcalutils4{a} libkcmutils4{a} libkdcraw-data{a} libkdcraw23{a} libkde3support4{a} libkdeclarative5{a} libkdecore5{a} libkdesu5{a} libkdeui5{a} libkdewebkit5{a} libkdnssd4{a} libkemoticons4{a} 
  libkexiv2-11{a} libkexiv2-data{a} libkface-data{a} libkface3{a} libkfbapi1{a} libkfile4{a} libkgapi2-2{a} libkgeomap-data{a} libkgeomap2{a} libkholidays4{a} libkhtml5{a} libkidletime4{a} libkimap4{a} 
  libkio5{a} libkipi-data{a} libkipi11{a} libkjsapi4{a} libkjsembed4{a} libkldap4{a} libkmbox4{a} libkmediaplayer4{a} libkmime4{a} libknewstuff3-4{a} libknotifyconfig4{a} libkntlm4{a} libkolab0{a} 
  libkolabxml1{a} libkparts4{a} libkpimidentities4{a} libkpimtextedit4{a} libkpimutils4{a} libkpty4{a} libkqoauth0{a} libkresources4{a} libkrosscore4{a} libksane-data{a} libksane0{a} libktexteditor4{a} 
  libkubuntu0{a} libkvkontakte1{a} libkxmlrpcclient4{a} liblensfun-data{a} liblensfun0{a} libmailtransport4{a} libmarblewidget18{a} libmediawiki1{a} libmicroblog4{a} libnepomuk4{a} libnepomukcleaner4{a} 
  libnepomukcore4abi1{a} libnepomukquery4a{a} libnepomukutils4{a} libntrack-qt4-1{a} libntrack0{a} libopencv-photo2.4{a} libpam-ck-connector{a} libpano13-2{a} libpano13-bin{a} libpgf6{a} libphonon4{a} 
  libplasma3{a} libpolkit-qt-1-1{a} libpoppler-qt4-4{a} libprison0{a} libqapt2{a} libqapt2-runtime{a} libqca2{a} libqextserialport1{a} libqjson0{a} libqmobipocket1{a} libqrencode3{a} libqt4-designer{a} 
  libqt4-qt3support{a} libqt4-svg{a} libqtglib-2.0-0{a} libqtgstreamer-0.10-0{a} libqtgstreamerutils-0.10-0{a} libqtlocation1{a} libqtsolutions-soap-head1{a} libqtwebkit4{a} libquazip0{a} libraw10{a} 
  libshp1{a} libsignon-qt1{a} libsolid4{a} libsoprano4{a} libsqlite0{a} libstreamanalyzer0{a} libstreams0{a} libthreadweaver4{a} libvigraimpex5{a} libvirtodbc0{a} libwlocate0{a} libzthread-2.3-2{a} 
  marble-data{a} marble-plugins{a} mysql-client-core-5.5{a} mysql-server-core-5.5{a} nepomuk-core-data{a} nepomuk-core-runtime{a} ntrack-module-libnl-0{a} oxygen-icon-theme{a} phonon{a} 
  phonon-backend-gstreamer{a} phonon-backend-gstreamer-common{a} phonon-backend-gstreamer1.0{a} plasma-scriptengine-javascript{a} qapt-batch{a} sgml-data{a} shared-desktop-ontologies{a} soprano-daemon{a} 
  virtuoso-minimal{a} virtuoso-opensource-6.1-bin{a} virtuoso-opensource-6.1-common{a} 
The following packages will be REMOVED:
  mysql-client-5.6{a} mysql-client-core-5.6{a} mysql-server-5.6{a} mysql-server-core-5.6{a} 
0 packages upgraded, 191 newly installed, 4 to remove and 5 not upgraded.
Need to get 26.0 MB/157 MB of archives. After unpacking 357 MB will be used.
Do you want to continue? [Y/n/?] 

And I finally got digikam 4.14 installed on my system.

Now, enjoy and leave any comments below.

Categories: digikam, linux, ubuntu Tags: ,

Apache file negotiation error: Negotiation: discovered file(s) matching request: /var/www/mysite/mypage (None could be negotiated).

December 4, 2015 3 comments

I rescued this post from my Drafts, I forgot to post it on time! Here is the original post.

Today I’ve been struggling with an annoying message in Apache’s error log:


[Wed Oct 02 19:18:36 2013] [notice] Apache/2.2.22 (Ubuntu) PHP/5.4.9-4ubuntu2.3 configured -- resuming normal operations
[Wed Oct 02 19:18:43 2013] [error] [client 127.0.0.1] Negotiation: discovered file(s) matching request: /var/www/mysite/view (None could be negotiated).
[Wed Oct 02 19:18:43 2013] [error] [client 127.0.0.1] Negotiation: discovered file(s) matching request: /var/www/mysite/404 (None could be negotiated).

I have two Ubuntu boxes, one with Ubuntu 12.04 LTS 64 bits  and another with Ubuntu 13.04 64 bits recently installed. I usually export projects from one box to another, and when I imported the project to my Ubuntu 13.04 box I got this problem. The website works fine in my 12.04 machine, so, I pressumed it’s an Apache configuration issue between my two boxes.

I want to redirect http://www.mysite.local/home to http://www.mysite.local/view.php?page=home.

My .htaccess works right on the other machine, so I’ve checked for mod_rewrite status and it’s also enabled in the 13.04 box.

This is my VirtualHost :


<Directory /var/www/myotragus.net>
 Options Indexes FollowSymLinks MultiViews
 AllowOverride All
 Order allow,deny
 allow from all
 </Directory>

I adjusted the RewriteLogLevel to 9 but I can’t understand the final redirection from view to -> view:


127.0.0.1 - - [02/Oct/2013:19:00:54 +0200] [www.mysite.local/sid#7f10f7002670][rid#7f10f143c880/initial/redir#3] (2) [perdir /var/www/mysite/] rewrite 'view' -> 'view?page=view'

After googling a while, I tried different things, but none worked:

  • Disabling Multiviews in my VirtualHost did’nt worked
  • Disabling mod_negotiation neither worked for me.

Finally, I found this post at serverfault.com that hit the nail on the head: I have to edit the /etc/apache2/mods-available/mime.conf to add this line:

AddType application/x-httpd-php .php

As Lorenzo said in his answer, the negotiation was failing because mod_negotiation only looks for known file types.

Just restarted apache and all worked again as intended.

Please, leave your comments below.

Categories: apache, linux, php, ubuntu Tags: ,

Use different color for root terminal on Linux

December 4, 2015 Leave a comment

Looking for a way to distinguish the different terminals i usually have opened, I found this post:

http://lifehacker.com/5195951/use-a-different-color-for-the-root-shell-prompt

It just changes the prompt color, red if you’re root, adding this line at the end of /root/.bashrc:

PS1='${debian_chroot:+($debian_chroot)}\[\033[01;31m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

and green for normal users, adding this to your ~/.bashrc

PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '

and restarting the terminals.

Now it’s easier to know if you’re root or not!

Please, feel free to leave your comments

Categories: linux, ubuntu Tags: ,

MySQL: Error 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO) [REVISITED]

November 7, 2015 Leave a comment

Have you ever read my 2011 post about this error? Check this before:

MySQL: Error 1045 (28000): Access denied for user ‘root’@’localhost’ (using password: NO)

After that, if you’re still getting the same error, simply try this:

$ mysql -u root -p

You’ll be prompted for root password. Type it and you’re connected to the database.

Please, share your comments below.

Categories: MySQL Tags: , , ,

Error altering tempfile: ORA-00376: file 202 cannot be read at this time

I noticed a lot of ORA-01652 errors while gathering some table statistics (Oracle 10g Release 2 – 10.2.0.4):


BEGIN DBMS_STATS.GATHER_TABLE_STATS('OWNER','TABLE', cascade=&gt;true, estimate_percent=&gt;60); END;

*
ERROR at line 1:
ORA-01652:&nbsp;Unable to extend temp segment by 256 in tablespace TEMP

ORA-06512: at "SYS.DBMS_STATS", line 13437
ORA-06512: at "SYS.DBMS_STATS", line 13457
ORA-06512: at line 1

When I’m trying to resize the tempfile I get an ORA-00376 error:


SQL&gt; alter database tempfile '/app/oracle/oradata/temp01.dbf' resize 20G;
alter database tempfile '/app/oracle/oradata/temp01.dbf' resize 20G
*
ERROR at line 1:
ORA-00376: file 202 cannot be read at this time
ORA-01110: datafile 202: '/app/oracle/oradata/temp01.dbf'

I checked the file on the filesystem and it exists and has the correct permissions:

$ ls -lrth /app/oracle/oradata/temp01.dbf
-rw-r----- 1 oracle dba 15G 17 nov 02:01 /app/oracle/oradata/temp01.dbf

After bouncing the database, I try to alter again the tempfile and now I get an ORA-01516:

SQL&gt; alter database tempfile '/app/oracle/oradata/temp01.dbf' resize 20G;
alter database tempfile '/app/oracle/oradata/temp01.dbf' resize 20G
*
ERROR at line 1:
ORA-01516: nonexistent log file, datafile, or tempfile '/app/oracle/oradata/temp01.dbf'

But the file is there as I checked before. With this new ORA-01516 error I checked the status of the tempfile and the error was there:


SQL&gt; select tablespace_name , status from dba_tablespaces where tablespace_name = 'TEMP';

TABLESPACE_NAME STATUS
------------------------------ ---------
TEMP ONLINE

SQL&gt; select name ,status from v$tempfile where name like '%temp%';

NAME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;STATUS
----------------------------------------------------------------------
/app/oracle/oradata/temp01.dbf &nbsp; &nbsp; &nbsp; &nbsp;        OFFLINE

The tempfile is offline. This is because our server ran out of space this morning, as you can see in the alert log:

Errors in file /app/oracle/admin/db1/udump/db11_ora_18815.trc:
ORA-01114:IO error writing block to file 202 (block # 1218066)
ORA-27072: I/O error
Linux-x86_64 Error: 28: No space left on device
Additional information: 4
Additional information: 1218066
Additional information: -1

After freeing disk space, I try to bring back the datafile online:


SQL&gt; alter database datafile '/app/oracle/oradata/temp01.dbf' online;
 alter database datafile '/app/oracle/oradata/temp01.dbf' online
 *
 ERROR at line 1:
 ORA-01516:&nbsp;nonexistent log file, datafile or tempfile&nbsp;'/app/oracle/oradata/temp01.dbf'

I neither can take the TEMP tablespace offline:


SQL&gt; alter tablespace temp offline;
 alter tablespace temp offline
 *
ERROR at line 1:
ORA-03217: invalid option for alter of TEMPORARY TABLESPACE

The solution is to recreate the tempfile:

  • First, delete the existing tempfile from the database
  • Remove the file from the filesystem (rm)
  • Create a new tempfile.
SQL&gt; alter database tempfile '/app/oracle/oradata/temp01.dbf' drop;

Database modified.

SQL&gt; !ls -lrt /app/oracle/oradata/temp01.dbf

-rw-r----- 1 oracle dba 15728644096 17 nov 02:01 /app/oracle/oradata/temp01.dbf

SQL&gt; !rm /app/oracle/oradata/temp01.dbf

SQL&gt; alter tablespace temp add tempfile '/app/oracle/oradata/temp01.dbf' size 15000M;

Tablespace modified.

SQL&gt; select name, status from v$tempfile;

NAME &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; STATUS
----------------------------------------&nbsp;-------
/app/oracle/oradata/temp01.dbf &nbsp; &nbsp; &nbsp;&nbsp;    ONLINE
&lt;pre&gt;

Now the tablespace is online and everithing returns to normal.

Any questions? Please feel free to comment below.

Categories: 10gR2, oracle Tags: ,

2014 in review

January 22, 2015 Leave a comment

The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog.

Here’s an excerpt:

The Louvre Museum has 8.5 million visitors per year. This blog was viewed about 85,000 times in 2014. If it were an exhibit at the Louvre Museum, it would take about 4 days for that many people to see it.

Click here to see the complete report.

Categories: Uncategorized

Ubuntu Recovery mode with internet connection and read write filesystem

December 2, 2014 Leave a comment

I’ve upgraded my box to a fresh Gnome Ubuntu 14.10 install. After installing some packages, and rebooting several times, I faced an error when rebooting and I cannot start the system.

I tryed the recovery option, but my system was unable to start in graphics mode, I can only get into a sudo console.

I was pretty sure that is a package recently installed that crashed my system. So I entered in a sudo console in recovery mode.

This console mounts the / filesystem in read-only mode. I needed to update the packages installed, so I also need a network connection in recovery mode. Here’s how I get it done:


mount -o remount, rw /

ifconfig eth0 up

dhclient eth0

First command is to mount the / filesystem in read write option (obviously). The second command raises up the ethernet device, and the third one sets an IP to the eth0 device using DHCP.
Then, I was able to recover my system with a dist-upgrade:


apt-get dist-upgrade

Do you have the same problem? Please, leave your comments below.

 

 

Ubuntu 12.04: Your current Hardware Enablement Stack (HWE) is going out of support on 2014-08-07

July 26, 2014 3 comments

A few days ago I received a message in the update manager saying that New hardware support is available.

Your current Hardware Enablement Stack (HWE) is going out of support
on 2014-08-07. After this date security updates for critical parts (kernel
and graphics stack) of your system will no longer be available.

For more information, please see:
http://wiki.ubuntu.com/1204_HWE_EOL

But when I try to install, I get an error regarding unmet dependencies.

I tried to update with command-line, as pointed in http://wiki.ubuntu.com/1204_HWE_EOL:


miquel@l3-ubuntu-12:~$ hwe-support-status --verbose

Your current Hardware Enablement Stack (HWE) is going out of support
on 2014-08-07. After this date security updates for critical parts (kernel
and graphics stack) of your system will no longer be available.

For more information, please see:
http://wiki.ubuntu.com/1204_HWE_EOL

To upgrade to a supported (or longer supported) configuration:

* Upgrade from Ubuntu 12.04 LTS to Ubuntu 14.04 LTS by running:
sudo do-release-upgrade

OR

* Install a newer HWE version by running:
sudo apt-get install linux-generic-lts-trusty libgl1-mesa-glx-lts-trusty xserver-xorg-lts-trusty linux-image-generic-lts-trusty

and reboot your system.

As my hardware is very old, I decided to install a new HWE version, rather than upgrading to 14.04 LTS, but I’m getting this errors:


$ sudo apt-get install linux-generic-lts-trusty libgl1-mesa-glx-lts-trusty xserver-xorg-lts-trusty linux-image-generic-lts-trusty
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libgl1-mesa-glx-lts-trusty : Depends: libglapi-mesa-lts-trusty (= 10.1.3-0ubuntu0.1~precise1) but it is not going to be installed
Recommends: libgl1-mesa-dri-lts-trusty (>= 7.2) but it is not going to be installed
xserver-xorg-lts-trusty : Recommends: libgl1-mesa-dri-lts-trusty but it is not going to be installed
Recommends: xserver-xorg-input-all-lts-trusty but it is not going to be installed
Recommends: xserver-xorg-video-all-lts-trusty but it is not going to be installed
Recommends: x11-xserver-utils-lts-trusty but it is not going to be installed
Conflicts: libglapi-mesa:i386 (>= 0~)
E: Unable to correct problems, you have held broken packages.
miquel@l3-ubuntu-12:~$ lsb_release -d
Description: Ubuntu 12.04.4 LTS
miquel@l3-ubuntu-12:~$ uname -a
Linux l3-ubuntu-12 3.5.0-54-generic #81~precise1-Ubuntu SMP Tue Jul 15 04:02:22 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

As posted in http://wiki.ubuntu.com/1204_HWE_EOL:

End-of-life (EOL) for 12.04, 12.04.1, and 12.04.5 HWE is April 2017 but for the other HWE stacks it is roughly when 14.04.1 is released: Aug 8, 2014.

After googling for a while, I found this post in Ubuntu forums: http://ubuntuforums.org/showthread.php?t=2234693. It’s seems safe to stay with the old HWE stack if you are not planning to use new hardware. Security fixes for the kernel will still be released. So, until the update procedure is being more mature, I will stay with the old HWE stack.

Updated 2014-08-11

Thanks to @Michael.Ford comment, I managed to install the new HWE stack following his instructions. I needed a dist-upgrade to finish the installation process.


$ sudo apt-get update

$ sudo apt-get upgrade

$ sudo apt-get dist-upgrade

$ sudo apt-get install linux-generic-lts-trusty linux-image-generic-lts-trusty

I was on 3.5.x kernel and now I’m on 3.13.x kernel, and I’m on 12.04.5 LTS release:


$ uname -a
Linux l3-ubuntu-12 3.13.0-33-generic #58~precise1-Ubuntu SMP Wed Jul 30 21:46:30 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04.5 LTS"

And now the output of hwe-support-status is different:

$ hwe-support-status --verbose

Your current Hardware Enablement Stack (HWE) is no longer supported
since 2014-08-07. Security updates for critical parts (kernel
and graphics stack) of your system are no longer available.

For more information, please see:
http://wiki.ubuntu.com/1204_HWE_EOL

There is a graphics stack installed on this system. An upgrade to a 
supported (or longer supported) configuration will become available
on 2014-07-16 and can be invoked by running 'update-manager' in the
Dash.


Thanks again to @Michael.Ford. What’s your opinion about the HWE end of support on Ubuntu 12.04? Have you decided to update to 14.04 LTS? Feel free to comment below.

 

 

 

Categories: ubuntu Tags: , ,