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

 

 

 

Installing RAR/UNRAR - "Package rar is unavailable"

If none of the specific sub-forums seem right for your thread, ask here.
Message
Author
User avatar
AdrianTM
Posts: 2499
Joined: 2004-09-19 01:08

#16 Post by AdrianTM »

Zero wrote:Wow, a guy tries to help, makes it clear he's not at his actual machine to check, and gets crap on for his efforts. Nice one. Heaven forbid I was trying to help.
Next time don't try to help. There is no try. Do, or do not.

Yoda.

Kidding, but I don't think you "got crap on your effort" people simply showed that you were wrong, if you consider that a problem then next time be right. :)
Ubuntu hate is a mental derangement.

vmclark
Posts: 187
Joined: 2008-07-30 15:16
Has thanked: 1 time

#17 Post by vmclark »

Lavene wrote:...
Sorry... Must be the super-cow powers finally rubbing off on me.
...
Shouldn't that be super-cat powers :)

"TMTOWTDI", sounds like something a perl programmer would say.

There's good info here on both "sides of the fence"; apt-get/aptitude.

Lavene
Site admin
Site admin
Posts: 4958
Joined: 2006-01-04 04:26
Location: Oslo, Norway

#18 Post by Lavene »

Zero wrote:Wow, a guy tries to help, makes it clear he's not at his actual machine to check, and gets crap on for his efforts. Nice one. Heaven forbid I was trying to help.
Where is the crap? I see a bit of joking about the various ways to establish where a package actually is but I don't see any crap.
vmclark wrote:Shouldn't that be super-cat powers :)
Look at it... does it look super to you? ;)

SunSpyda
Posts: 69
Joined: 2008-10-25 18:34

#19 Post by SunSpyda »

OK, when I installed unrar on Etch, I just typed this....

Code: Select all

apt-get install unrar
Obviously you would use sudo if you weren't root.
Doesn't that do the job?
Primary OS - OpenBSD Secondary OS - Debian GNU/Linux

Lavene
Site admin
Site admin
Posts: 4958
Joined: 2006-01-04 04:26
Location: Oslo, Norway

#20 Post by Lavene »

SunSpyda wrote:OK, when I installed unrar on Etch, I just typed this....

Code: Select all

apt-get install unrar
Obviously you would use sudo if you weren't root.
Doesn't that do the job?
Yes. To sum up the thread (which admittedly got a bit side tracked): You can install the official shareware version of unrar if you have non-free in your /etc/apt/sources.list.

aincanis
Posts: 2
Joined: 2014-11-27 04:53

Re: Installing RAR/UNRAR - "Package rar is unavailable"

#21 Post by aincanis »

No it doesn't. I'm sorry to wake the thread after so many years :P but I indeed have the same problem as OP, only that neither

Code: Select all

apt-get install unrar
nor

Code: Select all

apt-get install rar
work, although I just read through this entire thread and set my sources to contrib and non-free. Instead I get

Code: Select all

# apt-get install unrar
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package unrar is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'unrar' has no installation candidate
Has the unrar package been changed or removed entirely recently?

User avatar
Soapm
Posts: 603
Joined: 2012-05-22 04:23
Has thanked: 1 time

Re: Installing RAR/UNRAR - "Package rar is unavailable"

#22 Post by Soapm »

As was suggested to the OP many years ago, post your source list if you want to ask a question of this type. I know you said you added non-free, but until we know what that means then it's pointless to go any further.

aincanis
Posts: 2
Joined: 2014-11-27 04:53

Re: Installing RAR/UNRAR - "Package rar is unavailable"

#23 Post by aincanis »

Here you go:

Code: Select all

deb http://ftp.us.debian.org/debian wheezy main contrib non-free
deb-src http://ftp.us.debian.org/debian wheezy main contrib non-free
deb http://ftp.us.debian.org/debian wheezy-updates main contrib non-free
deb-src http://ftp.us.debian.org/debian wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
deb-src http://security.debian.org/ wheezy/updates main contrib non-free

User avatar
thanatos_incarnate
Posts: 717
Joined: 2012-11-04 20:36

Re: Installing RAR/UNRAR - "Package rar is unavailable"

#24 Post by thanatos_incarnate »

As you can see here, the package exists.
I don't know what might have gone wrong in your setup. You might have used apt pinning
or there might be other entries you have in the /etc/apt/sources.list.d/ directory that
prevent unrar's installation.

EDIT: I doubt it, but it could also be that the package is missing from your mirror.
Try another one?

kmathern
Posts: 603
Joined: 2011-02-05 19:20

Re: Installing RAR/UNRAR - "Package rar is unavailable"

#25 Post by kmathern »

aincanis wrote:... I just read through this entire thread and set my sources to contrib and non-free. ...
Did you run a 'apt-get update' after adding the contrib & non-free components to your sources ?

User avatar
thanatos_incarnate
Posts: 717
Joined: 2012-11-04 20:36

Re: Installing RAR/UNRAR - "Package rar is unavailable"

#26 Post by thanatos_incarnate »

kmathern wrote:
aincanis wrote:... I just read through this entire thread and set my sources to contrib and non-free. ...
Did you run a 'apt-get update' after adding the contrib & non-free components to your sources ?
lol, seriously? But yes, that would explain it. :lol:

Post Reply