Showing posts with label Debian. Show all posts
Showing posts with label Debian. Show all posts

August 23, 2008

Got myself an Eee PC 701

I'm back from my vacations, and there's lots of stuff I want (and will) blog about. But this one had to be now: I got myself a new Eee PC! Well, as a matter of fact both me and Paula wanted an Eee PC, so this one is from and for us both (even if the possibility of getting another one was already discussed). As you might have noticed thanks to the previous blog posts I made about ASUS EEE PC, which made several people think I already had one, I really fancy this cute little laptoy. I only have it for a couple of hours, and the time with it is between me and Paula, so I still didn't have the time to play with it as much as I wanted to: I built a backup USB stick and a backup of the system as it was, fiddled a little with settings and preferences, played with some of the software it has (which includes playing OpenArena and hedgewars O:-)), and got it connected to the internet via Kanguru (3G service). And I had to do this blog post using it, the same as I did when I got my blackberry phone :-)

The next step is already decided: install Debian here!

And for those wanting pictures... Well, I'm sure that either me or Paula will be uploading some of those in the near future :-)

August 16, 2008

How to use your blackberry as a modem in Debian

[ATENTION: this blog post was updated!]

After aquiring a BlackBerry cellphone, I wanted to use it as a modem for my laptop, running Debian. I still didn't figure how to use it via bluetooth, but here's how to do it via USB:

I recommend you read all this procedure before starting


  • Install barry (so you can use the cellphone via USB, this makes it chargeable too

  • Install XmBlackBerry

  • connect your mobile phone to your computer, via USB

  • sudo XmBlackBerry

  • clicking in the options menu you'll see in the stderr (console where you
    run this app) a /dev/pts/something , which is your GPRS device

  • click "connect" and see if your phone tells you that you're connected to the desktop

  • sudo vi /etc/chatscripts/blackberry :


    ABORT BUSY ABORT ‘NO CARRIER’ ABORT VOICE ABORT ‘NO DIALTONE’ ABORT ‘NO DIAL TONE’ ABORT ‘NO ANSWER’ ABORT DELAYED ABORT ERROR
    SAY “Initializing\n”
    ” ATZ
    SAY "ATE\n"
    OK 'AT+CGDCONT=1,"IP","wap.voicestream.com"'
    OK 'AT'OK 'ATDT*99***1#'
    SAY "Dialing\n"


  • (change "device" here) sudo vi /etc/ppp/peers/blackberry


    debug debug debug
    nodetach
    /dev/pts/device
    115200
    connect "/usr/sbin/chat -f /etc/chatscripts/blackberry"
    nomultilink
    defaultroute
    noipdefault
    ipcp-restart 7
    ipcp-accept-local
    ipcp-accept-remote
    lcp-echo-interval 0
    lcp-echo-failure 999
    modem
    noauth
    nocrtscts
    noipdefault
    novj
    usepeerdns
    user ""
    password ""


  • sudo pppd call blackberry



And you're on!

Yeah, but how to install XmBlackBerry?



Here are the steps to install XmBlackBerry:

* get and install libmotif 2.3.0 debian packages here
* aptitude install xaw3dg-dev xorg-dev x11proto-print-dev autoconf libtool libopensync-dev libxp-dev libcurl4-openssl-dev libreadline5-dev
* As root, run
ln -s /usr/include/X11/Xaw3d /usr/include/X11/Xaw
* Install Xlt (tested with 13.0.13): get it here, untar it and, in its directory...
*

./configure --with-motif-libraries=/usr/X11R6/lib --prefix=/usr
make && make install

* Install XmBlackBerry:

cvs -d:pserver:anonymous@xmblackberry.cvs.sourceforge.net:/cvsroot/xmblackberry co XmBlackBerry
cd XmBlackBerry/
cvs -d :pserver:anonymous@libusb.cvs.sourceforge.net:/cvsroot/libusb co libusb
cd libusb
make && make install
cd ..
./CVSMake
./configure --enable-maintainer-mode --disable-shared --with-motif-libraries=/usr/X11R6/lib
make
sudo make install
sudo ln -s /usr/X11R6/lib/libXm.so.4 /usr/lib/libXm.so.4


And how to install Barry?



You distro should have packages for it (most have). If not...

cvs -d:pserver:anonymous@barry.cvs.sourceforge.net:/cvsroot/barry login 
cvs -z3 -d:pserver:anonymous@barry.cvs.sourceforge.net:/cvsroot/barry co -P barry
cd barrysh
buildgen.sh
./configure --prefix=/usr
make
sudo make install
sudo cp udev/*b* /etc/udev/rules.d/.

July 03, 2008

HOWTO install HedgeWars (Worms clone) in an EEE PC

hedgewars screen shot
HedgeWars is a "Worms" clone and a pretty cool game. They put it this way:
Hedgewars, it's a Blast! This is the funniest and most addictive game you'll ever play - hilarious fun that you can enjoy anywhere, anytime. Hedgewars is a turn based strategy game but the real buzz is from watching the devastation caused by those pesky hedgehogs with those fantastic weapons - sneaky little blighters with a bad attitude!
By popular demand, here's a (quick and simple) HOW TO of how to install this game on an EEE PC (where it runs awesomely):
  • Edit your /etc/apt/sources.list, and add this line in that file:
deb http://www.backports.org/debian etch-backports main contrib non-free
  • In a terminal (CTRL+ALT+T to open it) write:sudo apt-get update && sudo apt-get install hedgewars
  • Edit once again the /etc/apt/sources.list file and remove the new entry, so your system ends up as it was before
  • in the terminal write sudo apt-get update to make your changes in the sources list being in effect.
  • Now you have the game installed. To run it, in a terminal write hedgewars. To play it well, you'll have to set it up to fullscreen mode.
There you go: have a nice gaming!

June 23, 2008

Installing Second Life on an EEE PC

I've been playing with an EEE PC lately. This 299€ (in Portugal) GNU/Linux ASUS laptop is awsome, and I'm really happy that ASUS did it. They did some mistakes, like using Xandros Server 2.0 as base for their distro, making me think, for instance, that if I had one of these I would replace their Operating System with something like Debian Eee PC, eeexubuntu or even eeedora. I might write about my thoughts on EEE PC later, but for now, a quick HOWTO (because I think this isn't documented nowhere) on installing Second Life on EEE PC.

HOWTO Install Second Life on an EEE PC:

  1. edit your /etc/X11/xorg.conf and change DefaultColorDepth 16 to DefaultColorDepth 24
  2. restart your X (press control+alt+backspace, for instance)
  3. edit your /etc/apt/sources.list file and add this lines:

    deb http://ftp.de.debian.org/pub/debian testing main contrib non-free
    deb http://apt.byteme.org.uk/apt/ unstable main
  4. in a terminal (CTRL+ALT+t) write sudo aptitude update && aptitude install slviewer
  5. Remove the added lines on /etc/apt/sources.list and in the terminal run aptitude update to go back to the state you were
  6. Your Second Life is now installed. To run it write slviewer in a terminal.


Regarding to using Second Life itself, you'll notice that the windowed view assumes a bigger resolution than the one you have, so I recommend you to start by going to the options, changing the ratio scale and remove the windowed mode. Et voilá, you're on Second Life!

Second Life on EEE PC

May 15, 2008

The SSH/SSL vulnerability: what you should know

I wasn't going to post about this, but it seems that, for my own sanity, I must. As you might know by now, a Debian Security Advisory came out, talking about a problem that affected the OpenSSL package, not only for Debian but for its derivatives too, like Ubuntu.

My first two remarks, and probably the most important ones for my thoughts about this issue:
  • If what you know about this issue is what you read on Slashdot, YOU'RE WRONG. Even the news itself is wrong, and the comments are clueless, written by people that don't know shit about what are they talking about. Worse than useless, that story on /. is disinformative.
  • If you think that this issue only affects users of Debian and Debian-derivatives, think twice. Any Linux/Unix/*BSD system is vulnerable that grants access to a key that was generated on an affected Debian or Ubuntu system. Erich has a simple yet good explanation on why.


Now, my stand on the issue: if you really feel the need to mock, criticize or otherwise comment about this issue, make yourself and me a favour, and avoid making a fool of yourself. In other words, find out what really happened, what is this all about and make your own oppinion based on facts, instead of just falling into the absurdity that spreaded over, saying silly stuff like "Debian does not contribute to upstream" (what a joke, did you ever read the Debian Social Contract?), or "Debian shouldn't make security fixes". As a matter of fact, John Goerzen wrote an interesting article about some of those things and why they are wrong.

So, to help you a little, here's a small list of articles you might want to read about the issue:


Yes, it was an unfortunate thing to happen. So, go fix your stuff and leave me alone.

May 06, 2008

Debian Barcamp-style event to happen in Portugal

DDPT08

At the 16th of August 2008, in Aveiro (Portugal), an event called DebianDayPT 2008 will happen, in comemoration of the 15th Aniversaty of the Debian Distribution.

This meeting aims to gather all those interested in Debian GNU/Linux distribution or in the Debian Project. Yet, it is a meeting open to all, including those not familiar with Debian or Linux.

It aims to:
  • create awareness of Linux, and Debian in particular
  • Celebrate Debian's 15th Anniversary
  • exchanging knowledge, thoughts and ideas about Debian GNU/Linux
They're going to be Presentations, Workshops and networking opportunities. It will start at 10am and end by 17:45.

Know more about this event at http://www.debianpt.org/debiandaypt.

April 06, 2008

Tecnonov 2008: fiasco or success?


I could start writing about this issue in a several number of ways. I could, and maybe should, start by not using a title such as "fiasco or success?". But, while a lot other prespectives could be chosen to talk about how was Tecnonov 2008, and probably some more useful than this one, I'm writting this way because I'll try to focus in what was more important for me, and what I think is important in future tech "meetings" (conferences, unconferences, social meetings, whatever) in Portugal, at least for folks like me.

First of all, Tecnonov. Tecnonov is the result of an idea that Octávio and me had while I was working at MagicBrain. The concept evolved, and in the end of 2006 we already knew exactly what we wanted. Tecnonov 2007 was, thus, planned to be a slightly technical free conference about Technology and Inovation in Portugal, in a public place (like FNAC) where anyone could pass by and listen if they were curious about the theme.

Tecnonov 2007 went well: it was Winter and the wether wasn't pushing you to go outside and play, so many people went to FNAC and ended listening to the talks that happened. Sometimes, the place was really full, with most of the people not knowing that they would be listening to a Tecnonov presentation before. But a lot of other things were also happening, like - for instance - the thirst there was for "geek meetings" in Portugal, that weren't happening.

Tecnonov 2008 was... different. We chose FNAC because it was a public place, and the event could run for free. We decided to make it bigger, so we made it from morning till dinner time. We scheduled thirteen presentations, doubling last year's. It was a sunny day. The whole day was spent with almost only the people that went there to talk about something, presenting to the others that were there doing the same. If the target was to talk about technology and innovation to a non-tech public, then Tecnonov 2008 was a fiasco.

But was it? Sure, this year we didn't have people blogging about the event afterwards (at least until now). But, for me, this was the best event I attended to in Portugal (thanks to the networking I did, the stuff I learnt, the people I met and talked to, the contacts that were made, the informal conversation it was). At least two other attendies also prefered this year's event than last years. Why? Were the presentations better? Well, maybe, but I don't believe that's what matters in this issue. I think that this year Tecnonov was a success, because people interested in technology, with similar or different backgrounds, had the chance to informally talk about different things, learn and network.

So, what's the future of Tecnonov? I don't know - it's too soon to tell. What I can say is that:

  • If you want to talk to non-tech people, this model doesn't work (at least as it should). I have several ideas of how to make a better model, but I'm not really interested in going into that (at least for now). (If you're interested in talking about it, feel free to leave a comment here.)

  • This is the kind of "informal meeting" that, at least I, was seeking with Barcamp, OpenCoffee, or "OpenPub" or whatever. We managed to do it "by chance", but the formula is not hard: and it would be awsome to have something like what this Tecnonov was for me several times a year.

  • "Social Meetings" or "Technical Meetings" were regulars are asked to do "Lightning Talks" or something like that, well... That doesn't work. Plus, you'll be throwing away cool oportunities. Two of the best talks this Tecnonov had for me was one from a Debian Developer talking about Debian (its philosophy, development process, community and so on), and other from a lawyer focused on "digital copyright" issues (copyright applied to computer programs and so on). I don't think I would have the pleasure to listen these guys talking if they're were invited to be there (so, no chance of these kinds of presentations in a Barcamp, for instance).



Why am I saying all this? Where am I heading to? Well, these are just "raw thoughts" that came to me after this event. They don't mean nothing - yet. What I know is that Portuguese tech people still feel the need to find ways (real places, events and forums of gathering, networking, discussion,...) of hanging out with each other. In two weeks we'll have the TakeOff conference, and this year we'll have another SHiFT. Barcamp Coimbra 2008 and Sapo CodeBits 2008 are probably happening (I suppose). But is that enough? Is that the best way? In the meantime, the best is just gathering with some people in a Pub? Or is something else that could be made?



Unrelated note: I'm, on purpose, not talking about the various talks that happened. Still, here's the note that every one of them was - for me - really interesting. Maybe I'll talk about each of them later, but that's not as important as talk about what I'm talking about in this post (at least for me).

Note to self: never do 45 minutes presentations again. If the presentations and issues are good, then the funnier part - where people discuss about it - will make any theme to take longer than 45 minutes.

Yay moment: My GPG key is finally signed by a Debian Developer: YAY!

December 19, 2007

Second Life in Debian

What you want to know is here now. In the future, hopefully, there will be official debian packages for snowglobe2.

HOWTO: Install OpenSim in Debian

For future reference:

  • go to http://dist.opensimulator.org/ and get the latest .tgz
  • aptitude install:

    • mono

    • libmono-corlib2.0-cil

    • libmono-sqlite2.0-cil

    • libmono-system-web2.0-cil

    • libmono-microsoft8.0-cil

    • libmono-system-runtime2.0-cil


  • unpack the .tgz, cd opensim and nant



Now you're ready to go :-)

(More extensive info at http://opensimulator.org/wiki/Main_Page)

December 11, 2007

ping


This weekend I saw a curious thing: Ubuntu made the right choice of having the reportbug-ng package in their distribution, but they forgot to change it to check Ubuntu bugs and report to Ubuntu instead of doing that to Debian. So, there's not a bug report against Ubuntu's bugreport-ng [1], even if tagged as "wishlist" (something I don't think is correct, and will try to see changed).

On other issue, IFPI is pressing Europe [2] to adopt some silly stuff like the recent Olivennes disagreement [3], and European politicians seem open to the idea of ISPs policing and interfering with their customers' communications on behalf of rightsholders.

We all know that Amazon is generally "cool", but they have some bad stuff too. Cory Doctorow decided to talk about it [4].

Finally... I'm a sucker for these things, it's not the first time and I doubt it will be the last that I see some piece of unmaintained software going offline and I having to taking over it. This time it was Crystal [5], a text-based MUD client that has support for both telnet and telnet-SSL. A new version was released, I have already plans on how to attack the "TODO" and I even made a Debian Package, that I'll try to make official [6].

Which reminds me to ask: any DD out there wanting to sign my GPG key? ;-)



[1] - http://smallr.net/ubuntu-bug-175508
[2] - http://smallr.net/IFPI-vs-Europe
[3] - http://smallr.net/olivennes
[4] - http://www.guardian.co.uk/technology/2007/dec/11/amazon
[5] - http://talkerspt.no-ip.org/~mbooster/crystal/
[6] - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=455759

October 26, 2007

Debian: HOWTO find a package containing a certain file

Debian: HOWTO find a package containing a certain file

(this example works on Debian-based systems too):

# apt-file update && apt-file search /usr/share/doc/rails/README.railties
rails: usr/share/doc/rails/README.railties
#


This example was me searching a package containing /usr/share/doc/rails/README.railties file. The result tells that rails is the package.

October 19, 2007

On Ubuntu


First of all, congratulations to all those involved in the new release of Ubuntu (yes, including Debian folks): it seems to me that this is being one of the most mediatic GNU/Linux distro releases, and every comparison between Ubuntu/Mac OS/Windows I've read so far tells me that this new Ubuntu release is doing well.

Still, here are some critics...

I'm a fan of Debian, not really a fan of Ubuntu. Probably my biggest pet peeve with Ubuntu is what is somewhat described in this image:
diagram explain Debian and Ubuntu's package release cycle
click on image to see it full size

The image explains both Debian and Ubuntu's release cycle. As you can see, Ubuntu does not contribute to upstream and doesn't have a controlled development and testing environment as Debian has. The result is easilly seen in matters of stability and security, when comparing both distros.

Some people don't understand why do I consider the fact that in Debian each package has a maintainer a good thing, compared to Ubuntu's anarchy. Here's a patch that I just saw and that explains one of the things that might happen in result of such lack of control: In this first pach to geneweb [1], we see Ubuntu forking Debian's package. In other words: Ubuntu folks used Geneweb's Debian package, but there was something they wanted to change, so instead of reporting a bug to that package, they just fork'ed it and created an Ubuntu version of the package. Now let's see what is that change about: reading the patch you'll easilly understand (even if you don't know nothing about code) that this patch is made to avoid a bug in pkgstriptranslations, a package and software created and maintained by Ubuntu. Now, why the hell are Ubuntu folks writting workarounds in other software instead of fixing their own bugs?

And there's the "you should keep your mouth closed" Gobuntu issue. So, Mark Shuttleworth announced that Ubuntu “Gutsy Gibbon” would be available in a super-strict, 100% open source flavor (now called “Gobuntu”). Well, that's nice and all but... Gobuntu has non-free contents [2]! If you don't have the guts to go without non-free (and yes, it is a question of guts since the issue involves pissing off Mozzila Corporation), why bothering creating Gobuntu? After all there's already gNewSense [3]...

Finally, I'm still pissed off with Canonical because they're failing their yet another long-time-ago promise: to "fix" the "mistake" of forgeting to give credits where credit is due, namedly on the fact that Ubuntu can't live without Debian. Yet, they keep forgetting [4]...

Now, don't take me wrong, I'm glad that Ubuntu exists, they pushed the boundaries and forced the whole bunch of GNU/Linux distros to evolve. Their bug #1 is something I want to see fixed [5] (specially when phoning to several laptop vendors like ASUS and LG Electronics just to get a reply "no, you can't but one of our laptops without Microsoft Windows"). Ubuntu has a lot of cool stuff: I'm still waiting to see Debian LiveCD [6] promoted as an excellence way of testing and installing Debian as Ubuntu's LiveCD is, for instance... But there are lot's of important issues to be addressed, more important (in my oppinion) than just "going bleeding edge and work on the hype".

[1] - http://tinyurl.com/2fkwwc
[2] - http://tinyurl.com/373vhk
[3] - http://www.gnewsense.org/
[4] - http://www.lucas-nussbaum.net/blog/?p=257
[5] - https://bugs.launchpad.net/ubuntu/+bug/1
[6] - http://live.debian.net/

September 24, 2007

New Debian Planets

So, after http://planet.debian.org, http://planet.debian-administration.org and http://updo.debian.net, new planets started and now evolved into Debian-Community Planets [1]: a collection of Debian users planets, one for each language. What's really different about this planets, tho, is that they're built on top of an wiki, meaning that if you think you should be aggregated in any of these planets (or if you think you should create another, in any language unexistant yet), you just have to edit a couple of pages and - voilá - that's it. I really hope people won't abuse this: after all this seems to be as a great way to get an even better sense of community between Debian users.

[1] - http://wiki.debian-community.org/planets/

September 16, 2007

LaunchALabel, $100 Label, Open Source and A Swarm of Angels

So, I've heard about LauchALabel [1], a web community somewhat simmilar to SellABand [2] that intends to coordinate people to create a label, instead of coordinate people to fund an album. The thing is, those 50.000 people that will pay $25 to create the label (against the 5.000 $10 parts needed to launch a bands' record on SellABand) will have a little few to have with the label itself: there's no plan of ROI for those "shareholders", those people can only decide five bands to release (heck, with that money you release 25 albums via SellABand), and they don't really have a stake on the labels management. The core idea was good, but with half the money it would be really easy to do a lot more...

Virgil from IndieHQ had a Simmilar idea some time ago [3]: create a record label with 1,000 investors (and equal participants), where each investor had to put $100 in. This idea (raising the money that could release two CD's on SellABand) is quite better, specially if you take into consideration that every "shareholder" would have an equal vote to someone else, and so it would really be an "Open Label". There are several issues to be considered tho, and if you read the comments made on his idea (same link) you'll see that there are a lot of concerns on how to please everyone, how to do the voting scheme, how to rely on other's works (and how to distribute work) and so on...

...which reminded me Open Source and how things just work in the Open Source world. As a matter of fact, this didn't came to me as "this reminds me of Open Source" but in a radical point of view: "this would only work in an Open Source like model".
Let me explain, giving the example of Debian. First of all, Debian does not have a fixed number of "contributors" or "staff" - it's a hive mind, a colective management, where you don't really have to rely on anyone specificly but in the community as a whole. See, you can be an excellent hacker and give lot's of coding hours to developing Debian, and yet do not care (or not have the profile) to do management stuff, deal with conflicts, take resolutions or doing every other thing needed to make things happen. Thus, Debian has an organizatinal structure [4], elected, that simply lets people contribute as much as they want to, in the issues they prefer to.

And yet another thing: in Debian you don't need a fixed number of people, like in Virgil's idea. You can explore more this issue if you compare this idea to one other project, but this time to make a movie. A Swarm of Angels [5] is a project to make a movie release happen. A director, several "business angels" and several phases will be used to create a movie from scratch, where those "angels" will make a part of all the process: from writting and choosing the plot or the wardrobe, to choosing (or creating) its soundtrack, everything is decided by the community. You didn't need a fixed number of people to start: as a matter of fact you have a limit number of people who can participate: taking core decisions with lots of people was avoided this way. The first phase was open for 100 people (£2,500), and the second for 1000 people (£25,000). When the tasks are complete for this phase, and since more money will be needed, the next phase starts and "buying a stake" is again possible, until there are 5000 people.

But the big question here remains: what's the really good way of doing this? How to create the "Record Label 2.0"? Every one of the three concepts for music have problems (SellABand, Launch A Label and the $100 label), and while ideas can and should be taken from stuff like Open Source or examples like Swarm of Angels, there's still no idea of how to create the "killer record label", that which is fair to everyone (from the artist to the public). I wrote my ideas of how to create the perfect record label [6] in the past, even if it was just a collection of loose thoughts in a way that seemed to make sense. There's no answer yet, but it's definitively something interesting enough to make me think.

[1] - http://www.launchalabel.com/
[2] - http://www.sellaband.com
[3] - http://tinyurl.com/yvhzvs
[4] - http://www.us.debian.org/intro/organization
[5] - http://aswarmofangels.com/
[6] - http://tinyurl.com/38a28v

September 03, 2007

SLTalker is out now!

One thing I've decided to this weekend was that I wouldn't have "dead times", so everytime when the presentations were not that interesting, or if I thought I could listen to it and do something at the same time I was with my laptop managing some stuff or coding on SLTalker, my project that aimed to create a talker interface for Second Life. When I realized that there were so many talks to be done that there would be no time to do the Hack Hour activity I was hoping to see there, and since, unfortunately, the rooms where presentations were given were really hot, I also skipped some presentations, giving me the time to finish SLTalker's "first release", meaning that nowadays you can actually connect into SLTalker.

So, that's it - enjoy, and remember you can allways chat with me there (.tell Noori Foss hi there!), and please report any bug that you find.

Next step, besides fixing SLTalker bugs, is trying to close these bugs on Debian, which will greatly help me to enhance SLTalker.

Oh, and please go easy on the server, SLTalker uses lots of resources and the server where I'm running this is quite slow for the job... Of course you can allways offer me a better place to host SLTalker, but I would need to have root access to it and it must be a Debian box, so I don't really think that there's someone willing to provide me a better host than this one :-)

August 21, 2007

Second Life for Debian Etch (i386)

New Second Life (slviewer) packages for Debian Etch (stable) i386 are available here.

August 16, 2007

Debian turns 14

And I couldn't end my day without saying happy birthday to Debian, my Linux distro of choice. Thank you, everyone that, with a lot or only a little bit, made Debian the excelent teenager it is today. Let's keep it moving.

August 10, 2007

Suggestions for maintaining Debian

Since many people ask me about these, here's a quick post about some Debian stuff:

apt-get vs. aptitude - aptitude is, IMHO, more flexible, even if you don't want to use the interective client (aptitude update && aptitude upgrade also work). If you use apt-get and aptitude now tells you that you have some unused packages, you can fix that by making an aptitude install to those packages.

apt.conf - you can configure your debian box behaviour in a really flexible way. For instance, in this box I have this:


# cat /etc/apt/apt.conf
APT::Default-Release "stable";
APT::Cache-Limit 20000000;
Apt::Get::Purge;
Aptitude::Recommends-Important "true";
Aptitude::Suggests-Important "true";

The first line says that I prefer stable packages. That means that if I have stable and testing repositories, he tryis stable first. To force testing, for instance, do a {apt-get|aptitude} -t testing install package .
The two last lines tell you that I want aptitude to install recommended and suggested packages by default.

wajig - This tool is most commonly used for:

Common JIG commands:

update Update the list of down-loadable packages

new List packages that became available since last update
newupgrades List packages newly available for upgrading

install Install (or upgrade) one or more packages or .deb files
remove Remove one or more packages (see also purge)

toupgrade List packages with newer versions available for upgrading
upgrade Upgrade all of the installed packages or just those listed

listfiles List the files that are supplied by the named package
listnames List all known packages or those containing supplied string
whatis For each package named obtain a one line description
whichpkg Find the package that supplies the given command or file


But what I think it's most important in wajig is:
$ wajig installrs package - Install package, including recommended and suggested others
$ wajig list-orphans - List installed libs not required by any installed package
$ wajig purge-depend package - Purge package and libs that would get orphan with the removal
$ wajig purge-orphans - Purge orphaned libraries

July 09, 2007

Links for today

Links for today:

Note that today I didn't read any of my feeds, so maybe there's a war out there and I'm just giving you old news...

July 05, 2007

Planeta DebianPT

There's a new Debian Planet out there, this one for Portuguese folks: Planet DebianPT. This new planet simple aims to aggregate Portuguese folks that are in any way related with Debian. This blog is now being agregated there, and if you think that your blog should also be, just read this.

Unfortunately I don't blog about Debian as much as I wanted to (must get some more time for that...), but I have a couple of things that I want to talk about, so maybe I'll use this as an incentive ;-)