|
Is there an equivalent of apt-get in Cygwin?
Started by Zubair on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
There are some known issues although they appear.
Check out the issues tab.
There is an apt-cyg script.
There seem to be alternatives for apt-get in cygwin , but I can't say anything about them.
|
|
I am new to linux, and just beginning to learn bash. I am using Ubuntu 9.04, and would like to add repositories to /etc/apt/sources.list from the command line. Basically, I would like to do this:
sudo echo "[some repository]" >> /etc/apt/sources...
Started by Matthew on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at stackoverflow):
This does not quite belong here, but the answer is:
echo "[some repository]" | sudo tee -a /etc/apt subshell like
sudo sh -c 'echo "[some repository]" >> /etc/apt/sources.list'
works, too "[some repository]" >> /etc/apt....
|
|
Is there anyway to disable/remove apt-get on a debian based server. I'd prefer to use aptitude, and don't want the other users to be installing packages with apt-get, to avoid package/database issues.
Started by DeadlyCreampuff on
, 6 posts
by 6 people.
Answer Snippets (Read the full thread at serverfault):
I frequently install things using ....
That way all the different variations of apt-get (like aptitude and who knows what else.
You could do:
chmod 0 /usr/bin/apt-get
There are plenty of ways you can do it, but the fact in /etc/apt.
|
Ask your Facebook Friends
|
I need to make a once off mirror of all the Ubuntu apt repository (for the record it's because I'm sending it to Kenya (see here and here ).
I did it before and used apt-mirror , and that does exactly what I want. However now I want to do it slowly, so...
Started by Rory McCann on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at serverfault):
You could edit the source code to utilise # or your limit rate
After I looked at the source code for apt-mirror, I discovered that apt-mirror has.
Since apt-mirror is just a Perl wrapper for wget .
|
|
I use Ubuntu and make good use of apt-get. Recently I tried openSUSE and found their equivalent Yast system much slower.
So I was wondering how do the various distro package management systems compare to apt-get? And is there a need for this variety?
Started by Richard on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at stackoverflow):
apt-get is fast and easy to use; Portage allows detailed might not be "needed" since they're similar to apt....
And is there a need of the managers serve certain goals .
I'm sure there are a few others in use, too .
Like apt-get , Yum, etc.
|
|
When we use
ubuntu apt-get
the first process is downloading the required files into a temporary folder
/var/cache/apt/archives
Installation will be done only after that. Can we able to migrate these files into a different system so that we can install...
Started by cdb on
, 4 posts
by 4 people.
Answer Snippets (Read the full thread at superuser):
apt-get will look at cache folder first, and if the version of the package you wanna install is the same with the cache version, apt-get will use the cache version without going
There are many other tools in the ....
Yes, you can do that.
|
|
How do I get a list of files that were or will-be installed when I apt-get a package? Conversely, can I find what package(s) caused a particular file to be installed?
Answer Snippets (Read the full thread at serverfault):
To find which files were installed by a package, use dpkg -L :
$ dpkg -L $package
apt-file can tell you which files will be installed by a package before installing it:
root# apt-get install apt-file root# apt-file update....
|
|
I would like the linux (Ubuntu) version of jdk 6 update 17 (which I think is one version behind the current one), can apt-get request such a specific package?
Started by patrickinmpls on
, 3 posts
by 3 people.
Answer Snippets (Read the full thread at superuser):
You want:
apt-get install package=version
You might also want to add something like this to your /etc/apt/preferences file, so that it won't just get upgraded again next time you run apt-get upgrade.
|
|
Is there a way with Ubuntu to rollback or undo the last upgrade after doing an "apt-get upgrade" if you don't like the results?
Started by jjclarkson on
, 8 posts
by 8 people.
Answer Snippets (Read the full thread at superuser):
It provides a tool to integrate Solaris's ZFS and Debian's apt in order to provide an undo button.
|
|
I prefer to install my own version of Firefox. How can I tell apt to never attempt to upgrade it, even if i type "apt-get update ; apt-get upgrade" later?
Edit: Okay, so dpkg -l firefox prints this:
ii firefox 3.0.3+nobinonly-0ubuntu2 meta package for...
Started by mike on
, 5 posts
by 5 people.
Answer Snippets (Read the full thread at serverfault):
Add the following to /etc/apt/preferences
Package this in /etc/apt/preferences....
That may help.
Have a look at (the complex) section 3.10 of the apt how-to: http://www.debian.org/doc/manuals/apt-howto/ch-apt-get.en.html .
|