Cannot download Leafpad

6 respuestas [Último envío]
amenex
Desconectado/a
se unió: 01/03/2015

In the midst of a campaign involving text editing my Thinkpad T420's grub failed,
so I've reinstalled etiona, only to run headlong into thesed -i s/https/http/ /etc/apt/sources.listissue. In spite of changing software sources in Software Updater, Leafpad
will not download with Add/Remove Applications.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

I've reinstalled etiona

Why not Trisquel 10 Nabia?

Leafpad will not download with Add/Remove Applications.

Are you sure you have not upgraded to Trisquel 10 Nabia? The repository of that version of Trisquel does not have Leafpad, which has been abandoned long ago (latest release in 2010). Nevertheless, it has its forks, Mousepad and FeatherPad.

If you do use Trisquel 9 Etiona, show us the output of that command:
$ sudo apt install leafpad

amenex
Desconectado/a
se unió: 01/03/2015

Magic Banana inquired: Why not Trisquel 10 Nabia?
Alas, with grub broken, the 'puter couldn't be run at all without the TQ_9 etiona flash drive.

Here's Apt's very civil response to my retrieval attempt:
sudo apt-get install leafpad
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package leafpad

Strangely, _after_ installing TQ_10 on another disk on the same Thinkpad T420, Apt's reply in yet another instance of TQ_9
(which awaits an update from the usual channel) is that leafpad is already installed.

Magic Banana went on to state that The repository of that version of Trisquel does not have Leafpad, which has been
abandoned long ago (latest release in 2010). Nevertheless, it has its forks, Mousepad and FeatherPad.

I see that the repository which doesn't have Leafpad also does not have Mousepad or Featherpad, but isn't support for etiona
supposed to overlap sufficiently with the newly introduced stable version of nabia to allow for our acceptance of nabia ?

TQ_10 was installed semi-sucessfully from the TQ_9 flash drive to another partition on the sda HDD (same HDD as the one
with the missing Leafpad) but that boot process hasn't proceeded past a cliff screen and blinking TQ logo after half a
dozen restarts. The grub catastrophe was the result of my updating one or more TQ OS's on a couple of USB-attached HDDs
and then moving the whole conglomeration to another desk; then I inadvertently attached the USB cables differently,
breaking grub. One of those HDDs is a former network-attached Buffalo 2TB HDD whose disks are physically much heavier and
slower to get up to speed; my work around for booting up that disk is to start trisquel on another more conventional HDD
and then quickly reboot into the 2TB's trisquel before the 2TB's disks come to rest. Works ever time; I think my failure
to do that on the after-move startup is what broke grub.

Now I've resolved to place TQ_10 in only one internal HDD of each of my three T420 Thinkpads. Advice may soon be needed
on converting those former operating system partitions to storage, preferably contiguous to the current data partitions.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

E: Unable to locate package leafpad

Trisquel 9 should have that package, according to https://packages.trisquel.org/etiona/leafpad

Can you show the content of your /etc/apt/sources.list ?

Advice may soon be needed on converting those former operating system partitions to storage, preferably contiguous to the current data partitions.

You can use GParted (a user-friendly graphical interface to GNU Parted) from a live system such as Trisquel's:

  1. delete the unwanted partitions;
  2. enlarge in the free space the adjacent partition(s) or, if they are not the partitions you want to enlarge, first move them in the free space and then enlarge the partition(s) adjacent to the moved free space.
amenex
Desconectado/a
se unió: 01/03/2015

My response to Magic Banana's request for the contents of /etc/apt/sources.list:
cat /etc/apt/sources.list
## See sources.list(5) for more information, especialy
# Remember that you can only use https, ftp or file URIs
# CDROMs are managed through the apt-cdrom tool.
deb httpss://archive.trisquel.info/trisquel/ etiona main
deb https://archive.trisquel.info/trisquel/ etiona-security main
deb httpss://archive.trisquel.info/trisquel/ etiona-updates main

Those double ss's arose because of my attempts to get past the "certificates" issue withsed -i s/https/http/ /etc/apt/sources.list
At one stage I ended up with http/http or https/https which I attempted to correct withsed -i s/http/https/ /etc/apt/sources.listbut I eventually got rid of the mangled sources.list withsudo mv /etc/apt/sources.list /etc/apt/sources.list-bakwhich may or may not make the current mess more clear to you:
cat /etc/apt/sources.list-bak
/https/http/
/https/http/
/https/http/
/https/http/
/https/http/
/https/http/
/https/http/
/https/http/
/https/http/
/https/http/
/https/http/

Thank you for your clear explanation of what GPartEd will let me do.

Magic Banana

I am a member!

I am a translator!

Desconectado/a
se unió: 07/24/2010

Those double ss's

They were the reason for not having access to the packages in the related sections of Trisquel 9's repository. Your /etc/apt/sources.list should contain those lines:

deb https://archive.trisquel.info/trisquel/ etiona main
deb https://archive.trisquel.info/trisquel/ etiona-security main
deb https://archive.trisquel.info/trisquel/ etiona-updates main

You need administrative privileged (e.g., through sudo) and any installed text editor (e.g., nano) to edit /etc/apt/sources.list:
$ sudo nano /etc/apt/sources.list
Once the modifications saved, execute:
$ sudo apt update
$ sudo apt upgrade
$ sudo apt install leafpad

amenex
Desconectado/a
se unió: 01/03/2015

Familiar refrain:sudo apt-get update
Ign:1 https://archive.trisquel.info/trisquel etiona InRelease
Ign:2 https://archive.trisquel.info/trisquel etiona-security InRelease
Ign:3 https://archive.trisquel.info/trisquel etiona-updates InRelease
Err:4 https://archive.trisquel.info/trisquel etiona Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 209.51.188.51 443]
Err:5 https://archive.trisquel.info/trisquel etiona-security Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 209.51.188.51 443]
Err:6 https://archive.trisquel.info/trisquel etiona-updates Release
Certificate verification failed: The certificate is NOT trusted. The certificate chain uses expired certificate. Could not handshake: Error in the certificate verification. [IP: 209.51.188.51 443]
Reading package lists... Done
E: The repository 'https://archive.trisquel.info/trisquel etiona Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://archive.trisquel.info/trisquel etiona-security Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: The repository 'https://archive.trisquel.info/trisquel etiona-updates Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Doessed -i s/https/http/ /etc.apt/sources.listfix all of these errors ?

Answering my own question: Yes it does. Confirmed by listing /etc/apt/sources.list with cat afterwards, where all the https's have been changed to http.