ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@altlinux.org>
To: ALT Linux Sisyphus mailing list <sisyphus@altlinux.ru>
Subject: [sisyphus] [niemeyer@conectiva.com: [apt-rpm] Full featured APT shell]
Date: Thu, 6 Mar 2003 01:16:39 +0300
Message-ID: <20030305221639.GB16157@basalt.office.altlinux.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 4166 bytes --]

JFYI

----- Forwarded message from Gustavo Niemeyer <niemeyer@> -----

Date: Wed, 5 Mar 2003 18:50:19 -0300
From: Gustavo Niemeyer <niemeyer@>
To: apt-rpm@distro.conectiva.com.br
Cc: snapshot-users@distro.conectiva.com.br
Subject: [apt-rpm] Full featured APT shell

Yes! That's right! :-)

We'll have a full featured APT shell for the next release. Some of
it's fetures include:

- Stateful cache. Mark packages as you want and when satisfied with
  the current selection, commit to the system.
  
- Gradual selection. Each time you select a package that will include
  more changes in the cache than was requested, you'll be notified
  about what changes will be made, and given the option to cancel.

- Smart completion. Command line completion for commands, package
  names, and versions. When removing, only installed packages will
  complete. When keeping, only packages selected for changing will
  complete.

- New list/ls command, allowing one to list packages in a confortable
  way, including shell wildcards. Also, options for listing only
  installed packages, only upgradable packages, listing installed
  and candidate versions, and listing summaries. This was inspired
  in The Poldek's counterpart.

- Inline help.

- Very fast.


Here is a long "screenshot" for your pleasure.


[root@ibook ..src/apt-rpm/bin]% ./apt-shell
Reading Package Lists... Done
Building Dependency Tree... Done
Welcome to the APT shell. Type "help" for more information.

apt> status
0 packages upgraded, 0 newly installed, 0 removed and 117 not upgraded.
Will need 0B of archives.
After unpacking 0B of additional disk space will be used.

apt> install dum [TAB pressed]
dummy  dump   

apt> install dummy= [TAB pressed]
0.1-1cl    1.0-1cl    1:1.0-1cl  1:1.5-1cl  

apt> install dummy=1:1.0-1cl

apt> status
The following NEW packages will be installed:
  dummy
0 packages upgraded, 1 newly installed, 0 removed and 117 not upgraded.
Will need 1476B of archives.
After unpacking 0B of additional disk space will be used.

apt> install alsa-lib-devel
Unrequested changes are needed to execute this operation.
The following packages will be upgraded
  alsa-lib-devel libalsa2
2 packages upgraded, 0 newly installed, 0 removed and 0 kept.
Will need more 289kB of archives.
After unpacking will need more 741B of disk space.
Do you want to continue? [Y/n] n
Abort.

apt> status
The following NEW packages will be installed:
  dummy
0 packages upgraded, 1 newly installed, 0 removed and 117 not upgraded.
Will need 1476B of archives.
After unpacking 0B of additional disk space will be used.

apt> commit
The following NEW packages will be installed:
  dummy
0 packages upgraded, 1 newly installed, 0 removed and 117 not upgraded.
Need to get 0B/1476B of archives.
After unpacking 0B of additional disk space will be used.
Do you want to continue? [Y/n] 
Executing RPM (-Uvh)...
Preparing...                ########################################### [100%]
   1:dummy                  ########################################### [100%]
Reading Package Lists... Done
Collecting File Provides... Done
Building Dependency Tree... Done

apt> help ls
Usage: list/ls [options] [pattern ...]

List packages matching the given patterns, or all packages if
no pattern is given. Wildcards are accepted.

Options:
  -h  This help text.
  -i  Show only installed packages.
  -u  Show only installed packages that are upgradable.
  -v  Show installed and candidate versions.
  -s  Show summaries.
  -o=? Set an arbitary configuration option, eg -o dir::cache=/tmp

apt> ls dum*
dummy  dump   

apt> ls -v dum*
Name   Installed           Candidate
----   ---------           ---------
dummy  1:1.0-1cl           1:1.5-1cl
dump   -                   0.4b28-11400cl

apt> ls -s dum*
dummy - Dummy package doing weird stuff.
dump - Programs for backing up and restoring filesystems.

apt> ls -i dum*
dummy  

apt> 

-- 
Gustavo Niemeyer

[ 2AAC 7928 0FBF 0299 5EB5  60E2 2253 B29A 6664 3A0C ]
_______________________________________________
apt-rpm mailing list
apt-rpm@distro.conectiva.com.br
http://distro.conectiva.com.br/mailman/listinfo/apt-rpm

----- End forwarded message -----

--
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

             reply	other threads:[~2003-03-05 22:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-03-05 22:16 Dmitry V. Levin [this message]
2003-03-06 16:05 ` Igor Solovyov
2003-03-06 22:59 ` [sisyphus] " Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20030305221639.GB16157@basalt.office.altlinux.org \
    --to=ldv@altlinux.org \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git