Trisquel 7 and Trisquel 8 Question

24 replies [Last post]
pieter
Offline
Joined: 07/16/2019

Hello,

I have Trisquel 7. Somewhere under in my screen there is a symbol with a yellow triangle with in the middle a exclamation mark. When I push on it I got the following message:

"The update information is outdated. This may be caused by network problems or by a repository that is no longer available. Please update manually by selecting 'Show updates' from the indicator menu, and watching for any failing repositories."

When I push on "Show updates" I got the following message:

"The software on this computer is up to date. However, Trisquel 8.0 LTS is now available (you have 7.0)."
Three options are now available: Settings..., Upgrade... and OK

When I push on Upgrade nothing happens.

Questions:
-What should I do to get a good updated Trisquel operating system? And there for the yellow triangle with exclamation mark is not showed any more.

Kind regards,

Pieter

chaosmonk

I am a member!

I am a translator!

Offline
Joined: 07/07/2017

> "The software on this computer is up to date. However, Trisquel 8.0 LTS
> is now available (you have 7.0)."
> Three options are now available: Settings..., Upgrade... and OK
>
> When I push on Upgrade nothing happens.

Trisquel 7 stopped receiving security updates last April, so you should
definitely upgrade to Trisquel 8. I'm not sure why the graphical method
isn't working, but you could try the terminal method. See this page:
https://trisquel.info/en/wiki/keeping-system-updated

pieter
Offline
Joined: 07/16/2019

Hi,

Thanks for the information. It is good to know that I should definitely upgrade to Trisquel 8.
I will design a plan to upgrade to Trisquel 8.

In Software updater I got the following message:

Failed to download repository information
Check your internet connection.
Settings..., Try Again, OK.

I checked my internet connection. Visiting internet webpage is possible and Wifi shows that it has a good connection.

(With "Try Again" I got the same above message.)

I also tried to updating software via terminal:

sudo apt update

I got the following message:

E: The method driver /usr/lib/apt/methods/https could not be found.
N: Is the package apt-transport-https installed?

Then I tried from source (https://askubuntu.com/questions/165676/how-do-i-fix-a-e-the-method-driver-usr-lib-apt-methods-http-could-not-be-foun#211531):

sudo apt-get install apt-transport-https

then I got the following message:

Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package apt-transport-https

From Information from source https://www.tecmint.com/fix-unable-to-locate-package-error-in-debian-9/ I tried to do this:

sudo vim /etc/apt/sources.list

Then I got:

# deb cdrom:[Trisquel 7.0 _belenos_ - Release amd64 (20141102)]/ belenos main

# Trisquel repositories for supported software and updates
deb http://nl.archive.trisquel.info/trisquel/ belenos main
deb-src http://nl.archive.trisquel.info/trisquel/ belenos main
deb http://archive.trisquel.info/trisquel/ belenos-security main
deb-src http://nl.archive.trisquel.info/trisquel/ belenos-security main
deb http://nl.archive.trisquel.info/trisquel/ belenos-updates main
deb-src http://nl.archive.trisquel.info/trisquel/ belenos-updates main
# deb http://fr.archive.trisquel.info/trisquel/ belenos-backports main
# deb-src http://fr.archive.trisquel.info/trisquel/ belenos-backports main

I see belenos. But I should have flidas I think.

Can anybody help what the next action is?
What should I understand to solve this problem?

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

After the modification of /etc/apt/sources.list that you made, the (graphical or textual) update to Trisquel 8 described on https://trisquel.info/en/wiki/keeping-system-updated still does not work?

If so, I would simply try to substitute "belenos" with "flidas" in /etc/apt/sources.list:
$ sudo sed -i 's/belenos/flidas/' /etc/apt/sources.list
Then update:
$ sudo apt update
And finally upgrade:
$ sudo apt upgrade

For your piece of mind (mainly), it is worth doing a backup of all user data before all that.

pieter
Offline
Joined: 07/16/2019

Hi. Thank you for your fast reply:), very great information.

My next action is to make a good backup plan. And then implement the plan. I will do this next week. (planned on Tuesday)

If anybody has some useful tips what the best backup methods are, then I would like to know them.

Some questions I have now:
Is it best to copy paste manually directories and files to an USB-stick? (And later put them back on my new Trisquel 8)

Or is better to search for a tool which can extract (all) data from my old Trisquel 7 Operating System and put it a format on a external drive/USB, which later can be imported again in my new Trisquel 8 Operating System?

Have a great day:)

Pieter

loldier
Offline
Joined: 02/17/2016

In Control Center, there's a tool for that – Déjà Dup (see attachments).

https://wiki.gnome.org/Apps/DejaDup

If your home folder is not big or you don't need incremental backups, do it manually. Sometimes I backup files and folders using tar and save them in a network drive. I give the tarballs names according to the date and content eg. 'photoarchive_2607_2019.tar'.

Archiving files is easy enough: open the terminal and type

tar -cvf photoarchive_2607_2019.tar file-or-folder

I don't usually compress (gz) files because photos or movies are already compressed. Using tar without compression is as fast as moving or copying files around.

Screenshot at 2019-07-26 11:05:06.png Screenshot at 2019-07-26 11:13:40.png
Libreshop
Offline
Joined: 10/27/2018

I backup my files on servers and external drives.
eg.
projects -> git server
dotFiles -> also git server, with a readme to know where to put the files
music -> nextcloud
wallpaper/public images -> nextcloud
docs -> nextcloud
pictures -> external hdd 1
videos -> external hdd 2

mail -> mail server / localcopies -> hdd 3(which is also my local backup for git and nextcloud)

Go Rin No Sho
Offline
Joined: 07/19/2019

I use a dedi server to store / share my files in Nextcloud and run a separate dedi with Nextcloud fully federated, .i.e. back-upped :)
Really nothing much to add to all info above, other than wishing you all a very nice weekend :)

Best regards, GoRinNoSho

If backup fails i return to basic :P

basic-applesoft.jpg
pieter
Offline
Joined: 07/16/2019

loldier, Libreshop, Go Rin No Sho, thanks for the information.

I used a normal external harddrive. I copied the whole home directory to it. I have a good backup now.

pieter
Offline
Joined: 07/16/2019

After the backup I did: sudo sed -i 's/belenos/flidas/' /etc/apt/sources.list
and then: sudo apt update

I get this now.

user@user-ThinkPad-X200:~$ sudo apt update
[sudo] password for user:
/usr/lib/apt/methods/https: /usr/lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.20' not found (required by /usr/lib/apt/methods/https)
E: Method https has died unexpectedly!
E: Sub-process https returned an error code (1)
E: Method /usr/lib/apt/methods/https did not start correctly

It could be that I already tried to install https before.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Does 'sudo apt-get dist-upgrade' work?

pieter
Offline
Joined: 07/16/2019

Hi, I got this:

user@user-ThinkPad-X200:~$ sudo apt-get dist-upgrade
[sudo] password for user:
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run ‘apt-get -f install’ to correct these.
The following packages have unmet dependencies.
apt-transport-https : Depends: libapt-pkg4.12 (>= 1.0.9.8.5) but 1.0.1ubuntu2.23+7.0trisquel3 is installed
Depends: libstdc++6 (>= 4.9) but 4.8.4-2ubuntu1~14.04.4 is installed
E: Unmet dependencies. Try using -f.
user@user-ThinkPad-X200:~$ sudo apt-get -f dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
Calculating upgrade... Done
The following packages will be REMOVED
apt-transport-https
0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 195 kB disk space will be freed.
Do you want to continue? [Y/n]

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Have you accepted to continue?

pieter
Offline
Joined: 07/16/2019

now I have:

user@user-ThinkPad-X200:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED
apt-transport-https
0 to upgrade, 0 to newly install, 1 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 195 kB disk space will be freed.
Do you want to continue? [Y/n] Y
(Reading database ... 569565 files and directories currently installed.)
Removing apt-transport-https (1.0.9.8.5) ...
user@user-ThinkPad-X200:~$

pieter
Offline
Joined: 07/16/2019

I tried this again:

user@user-ThinkPad-X200:~$ sudo apt-get dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
user@user-ThinkPad-X200:~$

and

user@user-ThinkPad-X200:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
user@user-ThinkPad-X200:~$

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

Can you successfully 'sudo apt update' and 'sudo apt upgrade' now?

pieter
Offline
Joined: 07/16/2019

I tried a lot of things.

I think the latest thing I did was:

sudo apt-get dist-upgrade

It looks like it does a lot downloading now. So maybe it works.

So I hope it will work, I will do a post, when the downloading is finished.

pieter
Offline
Joined: 07/16/2019

Hello. I tried a lot things in the terminal (so much that I can not remember each step I did:p). But the upgrade to trisquel 8 unfortunately did not work completely, because I lost the Graphical User Interface. I have installed a new trisquel 7 installation (from a usb-stick with trisquel 7 that I still got from my supplier minifree.org)(to a 16 GB usb stick), but in the beginning there was no gui either, somehow I managed to get a gui on that installation, but it looks like native debian, because the logo on the desktop is the debian logo. I have installed firefox on it. From that new installation (trisquel 7 or debian) I could access the (old Operating System) trisquel 8 and I have copied some Abrowser setting files in to Firefox, I can now easily login again in websites like trisquel.info (from that firefox browser) from my laptop. I have also tried to install a new trisquel 8 installation on my laptop from a usb.

I like GNU/Linux very much, I would like to understand it better.
At this moment I do not know what my next step will be. Probably I should have a more basic understanding how the parts of a GNU/Linux are working and what best practices are to maintain it.

If anybody has some useful tips or interesting information, let me know:)

Nice day

chaosmonk

I am a member!

I am a translator!

Offline
Joined: 07/07/2017

> I lost the Graphical User Interface.

Can you be more specific? Do you get a black screen, or can you log into
a command line?

> From that new installation (trisquel 7 or debian) I could access the
> (old Operating System) trisquel 8

Are you saying that you now have a dual boot, where one partition is
your GUI-less Trisquel 8 system and another is your Debian/Trisquel 7
mess?

In that case, it is possible to chroot into the Trisquel 8 system and
fix things, but this is only necessary if you cannot boot into the
Trisquel 8 system at all.

> I have also tried to install a new trisquel 8 installation on my
> laptop from a usb.

What happened when you tried? At this point, backing up your files to
another medium and doing a fresh install of Trisquel 8 might be the
easiest solution.

Magic Banana

I am a member!

I am a translator!

Offline
Joined: 07/24/2010

At this point, backing up your files to another medium and doing a fresh install of Trisquel 8 might be the easiest solution.

I agree.

pieter
Offline
Joined: 07/16/2019

Yes, indeed, that sounds like the best plan now.
Thanks.

pieter
Offline
Joined: 07/16/2019

> Can you be more specific? Do you get a black screen, or can you log into
a command line?

I can login in the command line. (There is only no gui anymore)

>Are you saying that you now have a dual boot, where one partition is
your GUI-less Trisquel 8 system and another is your Debian/Trisquel 7
mess?

Yes, indeed. (The GUI-less Trisquel 8 system might be also called a mess.) (The Debian/Trisquel 7
mess is installed on a 16 GB USB-stick.)

>What happened when you tried? At this point, backing up your files to
another medium and doing a fresh install of Trisquel 8 might be the
easiest solution.

I forgot what happened when I tried to install the Trisquel 8 installation. I can try to install Trisquel 8 again and document this time (via another computer each step on the trisquel forum)
A backup was already on a another medium. (I can backup some additional files I made recently on trisquel 7/debian mess, that is all need to do I think for the backup part)
Yes, fresh install of Trisquel 8 could be the easiest solution, indeed.

Question: Do you think it is best to use this version for my Libreboot x200 thinkpad?:

Trisquel 8.0 LTS Flidas

Release date: 04/18/2018 - 16:50
Downloads: 102543

Trisquel

2.5GB Live DVD iso image
MATE desktop
50 language translations preinstalled1

64 bit.

I had already downloaded the 2.5 GB version and had put it on a 8 GB USb-stick. I think that part went well, but somewhere in the installation something went wrong. I should check again what it was.

Thank you.

chaosmonk

I am a member!

I am a translator!

Offline
Joined: 07/07/2017

> Question: Do you think it is best to use this version
> for my Libreboot x200 thinkpad?:
>
> Trisquel 8.0 LTS Flidas
>
> Release date: 04/18/2018 - 16:50
> Downloads: 102543
>
> Trisquel
>
> 2.5GB Live DVD iso image
> MATE desktop
> 50 language translations preinstalled1
>
> 64 bit.

Yes.

>
> I had already downloaded the 2.5 GB version and had put
> it on a 8 GB USb-stick. I think that part went well,
> but somewhere in the installation something went wrong.
> I should check again what it was.

Okay, try again and let us know where you get stuck.

pieter
Offline
Joined: 07/16/2019

Hi, thanks. I have planned to do the upgrade next week Saturday. I hope it will work then:D

pieter
Offline
Joined: 07/16/2019

Hi, Upgrade is done well! A fresh Trisquel 8 install is done. Thanks for the help.

Kind regards, Pieter