These are my notes on working with Debian systems and related tools.
~G
searches the tag field. Like, aptitude search ~Gwork-with::video
.
~i
searches installed packages.
To downgrade a package in unstable, add a sources.list entry for testing, then
do aptitude update
and aptitude install package/testing
.
To list the contents of a package, use ar tv <package file>
. Or, use debc
in
the package source tree.
Use debi
to test installing the package.
To list all the packages with a particular maintainer, you can do
grep-available -sMaintainer,Package john@wjsullivan.net
.
To list all of the packages that depend on python, try:
grep-available -F Depends python -s Package,Depends
or
apt-cache rdepends python
http://wiki.debian.org/Python/Packaging
Install git-buildpackage and git-doc.
http://wiki.debian.org/PackagingWithGit
Generate the debian/changelog file:
git-dch —release —meta —full —git-author
Commit the changelog and build the package:
git commit -a -m "debian/changelog for release"
git-buildpackage —git-tag
git-pbuilder update
Use dput
and mini-dinstall
.
Edit /etc/hostname
and then run /etc/init.d/hostname.sh start
.
I had to get into this to get my thinkpad keys working.
lsinput
shows input devices.
input-event
monitors input devices.
http://www.debian.org/devel/: The Developer's Corner.
http://db.debian.org/: Queries about developers and machines.
http://www.debian.org/devel/wnpp/: The Work Needing and Prospective Packages list. What's orphaned, what needs new maintainers, what's being packaged and what would be nice to have packaged.
http://qa.debian.org/: The Debian Quality Assurance headquarters. Help is appreciated!
http://bugs.debian.org/: The bug tracking system (BTS).
http://www.debian.org/security/: Security related info. Please read their FAQ, as it will save you (and others) a lot of headaches.
http://packages.debian.org/: Information about packages in the Debian archive.
http://buildd.debian.org/: Build status of Debian packages.
http://lists.debian.org/: Mailing list subscription and archives.
http://qa.debian.org/developer.php: Provides you with an overview of all your packages.
http://lintian.debian.org/: Automated lintian tests on all packages in the Debian Archive.
http://www.netfort.gr.jp/~dancer/column/libpkg-guide/: Debian Library Packaging guide.
http://packages.qa.debian.org/: The Package Tracking System.
http://people.debian.org/~walters/descriptions.html: A small Guide "Writing Debian package descriptions".
https://buildd.debian.org/~luk/status/: Watch your package status.
http://ftp-master.debian.org/REJECT-FAQ.html: Frequently asked questions about why a package is rejected from the NEW queue.
http://www.debian.org/vote/2006/vote_001: The vote on the GFDL
http://www.debian.org/Bugs/pseudo-packages
rc-alert downloads the list of release-critical bugs, and outputs a list of installed packages with rc bugs.
dpkg -L devscripts |
grep bin/ | shuf -n10 is a fun way to learn about other devscripts. |
Like an expensive sports car, fine-tuned and well-built, Portia was sleek,
shapely, and gorgeous, her red jumpsuit moulding her body, which was as warm
as seatcovers in July, her hair as dark as new tires, her eyes flashing like
bright hubcaps, and her lips as dewy as the beads of fresh rain on the hood;
she was a woman driven -- fueled by a single accelerant -- and she needed a
man, a man who wouldn't shift from his views, a man to steer her along the
right road: a man like Alf Romeo.
-- Rachel Sheeley, winner
The hair ball blocking the drain of the shower reminded Laura she would never
see her little dog Pritzi again.
-- Claudia Fields, runner-up
It could have been an organically based disturbance of the brain -- perhaps a
tumor or a metabolic deficiency -- but after a thorough neurological exam it
was determined that Byron was simply a jerk.
-- Jeff Jahnke, runner-up
Winners in the 7th Annual Bulwer-Lytton Bad Writing Contest. The contest is
named after the author of the immortal lines: "It was a dark and stormy
night." The object of the contest is to write the opening sentence of the
worst possible novel.
This page was last modified on 2012 February 28. "NotesDebian" by John Sullivan is Copyright ©2003 - 2011, and licensed under the Creative Commons Attribution-Share Alike 3.0 United States License.