Getting an obsolete package with apt-get

15 réponses [Dernière contribution]
amenex
Hors ligne
A rejoint: 01/03/2015

Despite what the Forum thinks about Kompozer, it's still out there, and it's close to a one-for-one replacement for the Composer that used to come with Firefox ... and I just want to create & edit plain old HTML.

How can I force apt-get to install Kompozer ?

Isn't there a simple command, such as "sudo apt-get install -archive kompozer" ?

I tried "man apt-get" without success.

ssdclickofdeath
Hors ligne
A rejoint: 05/18/2013

Are you using Trisquel 6 or Trisquel 7?

onpon4
Hors ligne
A rejoint: 05/30/2012

I'm pretty sure it either is or isn't in the repository. If a package is considered to be obsolete (e.g. ffmpeg), it stops being included in the repository, perhaps transitioning into something else at first (in the case of ffmpeg, avconv). If a program you want isn't in the repo, you'll have to install it from some other source.

amenex
Hors ligne
A rejoint: 01/03/2015

I'm using Trisquel 7.

Presumably there's a way of telling apt-get which archive to use - it's easy enough to locate that archive, as Kompozer is alive and well in the hinterlands, just not in the current trisquel repository.

onpon4
Hors ligne
A rejoint: 05/30/2012

You need to add the external repository with add-apt-repository. That is of course assuming the repository exists, and you've found it.

amenex
Hors ligne
A rejoint: 01/03/2015

Here's what I've tried, so far without success:

"sudo add-app-repository http://oldarchive.trisquel.info/trisquel/pool/main/k/kompozer/"

That "took" OK, but subsequently, "sudo apt-get install kompozer" failed. Couldn't find the kompozer package.

Evidently, http://oldarchive.trisquel.info/trisquel/pool/main/k/kompozer/ isn't a repository, even though it's legitimately part of trisquel.info.

onpon4
Hors ligne
A rejoint: 05/30/2012

I don't think that's a repository (I think it's a subdirectory of a repository), but it does contain several deb files. If you want to install them, you can just download the correct deb files for your architecture and install them e.g. with GDebi. It might not work, though; it depends on what software the package depends on.

It looks like you would want kompozer-data_0.8~b3.dfsg.1-0.1ubuntu1_all.deb, and either kompozer_0.8~b3.dfsg.1-0.1ubuntu1_i386.deb or kompozer_0.8~b3.dfsg.1-0.1ubuntu1_amd64.deb depending on your architecture.

davidnotcoulthard (non vérifié)
davidnotcoulthard

Open /etc/apt/sources.list.

Add "deb http://oldarchive.trisquel.info/trisquel [version with Kompozer] main"

apt-get update

Kompozer should be there.

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

KompoZer is discontinued. It has not received any update in more than five years. I guess LibreOffice Writer now is a better WYSIWYG HTML editor.

If you insist on a Gecko-based editor, try BlueGriffon... which looks discontinued as well (no release in two years) but at least supports some HTML5, CSS3, etc.

amenex
Hors ligne
A rejoint: 01/03/2015

Still stumbling around. I added the following lines to my /etc/apt/sources.list:

deb http://oldarchive.trisquel.info/trisquel/pool/main/k/kompozer/kompozer-data_0.8~b3.dfsg.1-0.1_all.deb kompozer main
deb http://oldarchive.trisquel.info/trisquel/pool/main/k/kompozer/kompozer_0.8~b3.dfsg.1-0.1ubuntu1_i386.deb kompozer main

With the following result when attempting sudo apt-get update:

> W: Failed to fetch http://oldarchive.trisquel.info/trisquel/pool/main/k/kompozer/kompozer-data_0.8~b3.dfsg.1-0.1_all.deb/dists/kompozer/main/binary-i386/Packages 404 Not Found

> W: Failed to fetch http://oldarchive.trisquel.info/trisquel/pool/main/k/kompozer/kompozer_0.8~b3.dfsg.1-0.1ubuntu1_i386.deb/dists/kompozer/main/binary-i386/Packages 404 Not Found

> E: Some index files failed to download. They have been ignored, or old ones used instead.

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

A package is not *a* repository. It is *in* a repository. If you really want to stick to KompoZer (despite my previous post), download http://oldarchive.trisquel.info/trisquel/pool/main/k/kompozer/kompozer-data_0.8~b3.dfsg.1-0.1_all.deb and http://oldarchive.trisquel.info/trisquel/pool/main/k/kompozer/kompozer_0.8~b3.dfsg.1-0.1ubuntu1_i386.deb and install them in the same order. Assuming you have GDebi install (otherwise you can install it: it is in Trisquel 7's repository), it "should" be a matter of double-clicking on the .deb files, asking for installation in a click on a button and entering your password. Notice the quotes around "should" though: the packages have probably been removed for a reason, which can be their incompatibility with fundamental libraries of a modern GNU/Linux system. Again: KompoZer's last release is more than five years old!

amenex
Hors ligne
A rejoint: 01/03/2015

Magic Banana suggested:
> download http://oldarchive.trisquel.info/trisquel/pool/main/k/kompozer/kompozer-data_0.8~b3.dfsg.1-0.1_all.deb and http://oldarchive.trisquel.info/trisquel/pool/main/k/kompozer/kompozer_0.8~b3.dfsg.1-0.1ubuntu1_i386.deb and install them in the same order

Alas, once on my 'puter, I was faced with two choices [only]: "Extract" or "Open."

Extracting produced a directory structure, but with a penalty: "an error occurred." Alas, an unspecified error, it seems.
"Open" just opens the chosen directory ... looks a little like a mozilla product.

On a tangential path, I tried applying wine to netscape, but that produced a host of unwelcome warnings & error messages.

And I took a look at the Bluefish editor. Kinda like a carpenter with too many nails in his mouth. Harkens back to the TRS-80 'puter on which I learned to write technical reports: So many details to remember that the task at hand is forgotten.

davidnotcoulthard (non vérifié)
davidnotcoulthard

I probably sound a tad annoying by saying this but as I've said:

Open /etc/apt/sources.list.

Add a line reading "deb http://oldarchive.trisquel.info/trisquel [Trisquel version with Kompozer] main"

apt-get update

Kompozer should be there.

Anyway regarding GDebi you've got to first install gdebi (and open the graphical app if it's there, or open a terminal and gdebi [package file]

Magic Banana

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/24/2010

Alas, once on my 'puter, I was faced with two choices [only]: "Extract" or "Open."

That is because you did not installed GDebi before. Read again my previous post.

grimlok
Hors ligne
A rejoint: 04/16/2013

When I cannot find a package in the repositories that I want to install I go to the Debian package search and look for that software as a debian package.

Here is KompoZer's: https://packages.debian.org/squeeze/kompozer

Once there I select a download that corresponds to my architecture. e.g. amd64 for me.

Once downloaded I open a terminal window and cd to the directory that I downloaded the .deb file to.

once there I run the command dpkg -i file.deb

That should get you where you need to be, unless there are dependencies you don't have.

Of course any dependencies you will have to track down either in the repositories or by getting the debian package for that particular dependency.

I hope this helps.

GrimLok

amenex
Hors ligne
A rejoint: 01/03/2015

Success !

Magic Banana suggested (with appropriate local adjustment for my new Lenovo T420 laptop):
> download http://oldarchive.trisquel.info/trisquel/pool/main/k/kompozer/kompozer-data_0.8~b3.dfsg.1-0.1_all.deb and http://oldarchive.trisquel.info/trisquel/pool/main/k/kompozer/kompozer_0.8~b3.dfsg.1-0.1ubuntu1_amd64.deb and install them in the same order ...

Then grimlok piped up with:
> Once there I select a download that corresponds to my architecture. e.g. amd64 for me.
> Once downloaded I open a terminal window and cd to the directory that I downloaded the .deb file to.
> once there I run the command [sudo] dpkg -i file.deb

The combination worked just fine; I followed up with sudo apt-get update and sudo apt-get upgrade for good measure.

KomPozer is now in my Programming folder and opens without any hassle. Nice WYSIWYG for plain old html.

Thanks to all for your extraordinary patience.