Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Can't Install .deb Package

New to Debian (Or Linux in general)? Ask your questions here!
Message
Author
llewellen
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Can't Install .deb Package

#1 Post by llewellen »

What am I missing or doing wrong?

Code: Select all

drew@dell:~/Downloads$ su
Password: 
root@dell:/home/drew/Downloads# aptitude install cherrytree_0.38.4-0_all.deb
Couldn't find any package whose name or description matched "cherrytree_0.38.4-0_all.deb"
Unable to apply some actions, aborting
root@dell:/home/drew/Downloads# exit
exit
drew@dell:~/Downloads$ 
The board says the attachment quota has been reached and won't let me attach a screenshot showing the cherrytree file sitting there in Downloads.

Thank you.

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Can't Install .deb Package

#2 Post by Wheelerof4te »

Don't use aptitude.

Code: Select all

apt install ./cherrytree_0.38.4-0_all.deb
Try that, while in Downloads.

llewellen
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Can't Install .deb Package

#3 Post by llewellen »

Wheelerof4te wrote:Don't use aptitude.

Code: Select all

apt install ./cherrytree_0.38.4-0_all.deb
Try that, while in Downloads.
'

Thanks but it looks like I'm hooped, at least for the time being.

Code: Select all

 drew@dell:~/Downloads$ su
Password: 
root@dell:/home/drew/Downloads# apt install ./cherrytree_0.38.4-0_all.deb
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Note, selecting 'cherrytree' instead of './cherrytree_0.38.4-0_all.deb'
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:
 cherrytree : Depends: python-gtksourceview2 but it is not installable
E: Unable to correct problems, you have held broken packages.
root@dell:/home/drew/Downloads# 
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Can't Install .deb Package

#4 Post by stevepusser »

So...since that package is in the standard Stretch repositories, what is the output of

Code: Select all

apt policy python-gtksourceview2
MX Linux packager and developer

llewellen
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Can't Install .deb Package

#5 Post by llewellen »

Code: Select all

 drew@dell:~$ apt policy python-gtksourceview2
python-gtksourceview2:
  Installed: (none)
  Candidate: (none)
  Version table:
drew@dell:~$ 
 
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: Can't Install .deb Package

#6 Post by dilberts_left_nut »

and output of

Code: Select all

apt policy
?
AdrianTM wrote:There's no hacker in my grandma...

llewellen
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Can't Install .deb Package

#7 Post by llewellen »

dilberts_left_nut wrote:and output of

Code: Select all

apt policy
?

Code: Select all

 drew@dell:~$ apt policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 http://deb.debian.org/debian buster/main amd64 Packages
     release o=Debian,a=testing,n=buster,l=Debian,c=main,b=amd64
     origin deb.debian.org
 500 http://mirror.it.ubc.ca/debian buster/main amd64 Packages
     release o=Debian,a=testing,n=buster,l=Debian,c=main,b=amd64
     origin mirror.it.ubc.ca
Pinned packages:
drew@dell:~$ 
 
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: Can't Install .deb Package

#8 Post by dilberts_left_nut »

Testing probably isn't your best choice.
AdrianTM wrote:There's no hacker in my grandma...

llewellen
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Can't Install .deb Package

#9 Post by llewellen »

dilberts_left_nut wrote:Testing probably isn't your best choice.
It's been fine for getting most things I need to do what I do but at the same time, it is somewhat disappointing that great apps that are comparatively popular, like Vivaldi browser and Cherrytree notes, aren't in the repos. Meanwhile, there are a gazillion games. Oh well.
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Can't Install .deb Package

#10 Post by bw123 »

llewellen wrote:
dilberts_left_nut wrote:Testing probably isn't your best choice.
It's been fine for getting most things I need to do what I do but at the same time, it is somewhat disappointing that great apps that are comparatively popular, like Vivaldi browser and Cherrytree notes, aren't in the repos. Meanwhile, there are a gazillion games. Oh well.
Using testing won't make vivaldi appear? But there is a cherrytree pkg in the main repo.
https://packages.debian.org/search?suit ... cherrytree

I guess the point is, that using testing won't make it any easier to use out-of-repo software pkgs, it probably would make it more complicated.
resigned by AI ChatGPT

llewellen
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Can't Install .deb Package

#11 Post by llewellen »

@bw123: Well, I'm a complete newbie in debian and I have a lot to learn. I got started into testing because there was a package there that I wanted - I can't remember exactly now, maybe the latest release of Budgie or Enlightenment DE. I haven't had much in the way of problems, except those caused by my own lack of knowledge and understanding about debian.

I assumed, mistakenly apparently, that packages in stable would still be available in testing. But look at this output from testing:

Code: Select all

  drew@dell:~$ su
Password: 
root@dell:/home/drew# aptitude install cherrytree
Couldn't find any package whose name or description matched "cherrytree"
Unable to apply some actions, aborting
root@dell:/home/drew# 
The same thing happened earlier with Vivaldi.
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Can't Install .deb Package

#12 Post by Wheelerof4te »

Reinstall Stable.

llewellen
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Can't Install .deb Package

#13 Post by llewellen »

V
Wheelerof4te wrote:Reinstall Stable.
I'm going to wait until the next stable release and then that's what I will do. The apps that will be available in that stable version will be sufficient for my needs, with one exception:

I have moved most of what I do on a daily basis to web based apps and cloud services. That means I live in my browser to a great extent. IMO, after having tried several browsers, Vivaldi is by far the best for what I do and the way I like to do it. If I could just get Vivaldi (and additional codec package) running properly on Debian, I would gladly use it on my main system.

As it is now, I am using Manjaro on my main system, with Debian on a backup for tryout. I don't need the "bleeding edge" up to date feature of a rolling release distro but Vivaldi runs on it very smooth and very fast.
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope

jmgibson1981
Posts: 299
Joined: 2015-06-07 14:38
Has thanked: 11 times
Been thanked: 32 times

Re: Can't Install .deb Package

#14 Post by jmgibson1981 »

You can try to backport stuff as well. It's not a hard process. I did the same for a couple Ubuntu packages for my server. Smooth as silk.

https://wiki.debian.org/SimpleBackportCreation

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Can't Install .deb Package

#15 Post by stevepusser »

Stable + official Debian backports+ unofficial backports (which I do quite a few of :D ) + your own backports is going to give you the most choices, IMO. Even if a new program can't be backported, many now come as containerized apps in appimage, flatpak, or snap formats that you can install to work around that issue.
MX Linux packager and developer

pcalvert
Posts: 1939
Joined: 2006-04-21 11:19
Location: Sol Sector
Has thanked: 1 time
Been thanked: 2 times

Re: Can't Install .deb Package

#16 Post by pcalvert »

There's a cherrytree package in Debian Sid.

This tutorial may be helpful:
Howto: Set up and Maintain a Mixed Testing/Unstable System

Since the tutorial is quite old, some adjustments will be necessary.

Phil
Freespoke is a new search engine that respects user privacy and does not engage in censorship.

llewellen
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Can't Install .deb Package

#17 Post by llewellen »

@pcalvert: Yes Cherrytree is in Sid and also in Stretch but for some reason it doesn't show up in the package list for testing.

Thank you for the "how to" link on mixed testing/unstable systems. Since I'm a neophyte, I will have to re-read it a few times to absorb it but it does look like something that will be very useful for me. Unfortunately, Vivaldi browser is not in any of the debian package lists, not even in unstable.

Wheelerof4te
Posts: 1454
Joined: 2015-08-30 20:14

Re: Can't Install .deb Package

#18 Post by Wheelerof4te »

llewellen wrote:Unfortunately, Vivaldi browser is not in any of the debian package lists, not even in unstable.
For the same reason Google Chrome or Opera Browser aren't: licence.

llewellen
Posts: 88
Joined: 2018-04-08 05:21
Location: Vancouver Island, Canada

Re: Can't Install .deb Package

#19 Post by llewellen »

Wheelerof4te wrote:
llewellen wrote:Unfortunately, Vivaldi browser is not in any of the debian package lists, not even in unstable.
For the same reason Google Chrome or Opera Browser aren't: licence.
I understand that. I thought it might show up in the "non-free" listing.
It is not that I am mad; it's only that my head is different from yours - Diogenes of Sinope

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 71 times

Re: Can't Install .deb Package

#20 Post by stevepusser »

Debian's usual policy is that if they can't build something like a browser from source, they won't have it in the repo.
MX Linux packager and developer

Post Reply