Jump to content

Paul Dufresne

Members
  • Content count

    15
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Paul Dufresne

  • Rank
    Member
  1. [SOLVED] synaptic ask questions inside the details window

    Oh, yeah, you are right. Clicking on the title bar to get focus... but then just Enter is not enough to activate the Ok button... Need to get tab key, then the return key... that's it... it works. But it would be quite easier I think with the gtk frontend.
  2. Hi! I am relatively new to Bodhi. I have installed Bloathi_1.3.0 and have ask Synaptic to install some programs. But now, the system is waiting for me to answer a question ask by postfix package. The question is shown in the details window. But I do not seems to be able to focus and enter an answer there! This is mainly the debconf system that is using the dialog frontend (I think). It should probably be set to use ... gtk? system. I may try to set debconf.conf file ... or maybe some Environment variables if I find which.
  3. .pbi package of FreeBSD

    Well, I am still beginning to speak of what I don't know! After discovering that Nix package manager is probably taking too much memory for BodhiLinux... I am looking at an other OS: FreeBSD PC-BSD. .pbi where mentioned before in 0install... but it is not really related to 0install, so I am beginning a new topic. I sure like this because I use 56k at home, but have access to high-speed Internet at the library... so for me, conventional Linux is not funny, because I mostly have to use 56k to install programs, because there is so much dependencies to download, which are not obvious to figure out. I am downloading FreeBSD 9 RC1... will try to give you some news... like testing it on my 256Mb box.BTW, they now have 9 window managers to choose from... but not Enlightenment.
  4. Nix package and configuration manager

    Well, I now have discovered that nix-env (one of the most use command of nix) require a lot of memory. With my 256 Mb physical + 256 Mb virtual memory, operation become very slow because of swapping, and then fail to allocate memory. I guess 512 Mb physical + 512 Mb virtual memory would be fine. Probably not much usefull for BodhiLinux then. Sorry.
  5. Nix package and configuration manager

    Only now, I realized I did not need to install it to play with it... at least in theory. You should be able to install NixOS's packages in your Bodhi installation. After all, except for the nix package manager, all the files are stored in the /nix directory. Euh... yeah also your profile in .nix-profile. You basically just have to download nix-0.16 (the package manager) and follows the quick steps in the manual at http://hydra.nixos.org/build/1463176/download/1/manual/#chap-quick-start.[you need g++ before launching make, or you'll get libtool error and will have to make clean and ./configure again] One point is indeed that with Nix, you don't create a nix-expression (package) by saying X depend on Y where Y's version between A and B. It only depend on the version you choosed. As for myself... after building Nix, I get error 18 from curl each time I tried to download the 20Mb Manifest.bz2 file of the channel (repositroy) in 56k, each time at a different point (mostly between 0% and 50%). I tried pretty all I knew, new init string, use curl -0, -no-keepalive, etc.
  6. Nix package and configuration manager

    Well, basically, nix expression is a small functional language with just enough to describe all what is needed to make a derivation (build something). The building script can be in any programming language, or shell scripts. "Nix does not really care what a component actually is. As far as Nix is concerned a component is just a set of files in a file system." "Nix stores components in a component store, also called the Nix store. The store is simply a designated directory in the file system, usually /nix/store. The entries in that directory are components (and some other auxiliary files discussed later). Each component is stored in isolation; no two components have the same file name in the store." "If two component compositions differ in any way, they will occupy different paths in the store (except for dependencies that they have in common). Installation or uninstallation of a configuration therefore will not interfere with any other configuration." "Thus, from a user perspective, source deployment automatically optimises into binary deployment. This is good: binary deployment can be considered a partial evaluation of source deployment with respect to a specific platform, and such optimisations should be “invisible”. However, if the user has made modifications to parts of the Nix expression, it is possible that some or all of the store paths will be different. In that case, the substitutes fail to be applicable and Nix will build from source. Thus, binary deployment automatically “degrades” back to source deployment. The transparent source/binary model therefore combines the flexibility of source deployment systems such as Gentoo with the efficiency of binary deployment systems such as RPM."
  7. Nix package and configuration manager

    Well, indeed this is essentially source based package manager... but extended with binaries features. Well, nix expression are not part of the 'package', but just a small file (with others .nix files) that describe how to build the binary. But if there is a binary, it will use it rather than rebuild it. (binaries are store in channels). It also knows how to patch binaries (delta binary package). Extracted from http://nixos.org/nix/: Transparent source/binary deployment Nix expressions generally describe how to build a package from source, so an installation action like $ nix-env --install firefox could cause quite a bit of build activity, as not only Firefox but also all its dependencies (all the way up to the C library and the compiler) would have to built, at least if they are not already in the Nix store. This is a source deployment model. For most users, building from source is not very pleasant as it takes far too long. However, Nix can automatically skip building from source and download a pre-built binary instead if it knows about it. Nix channels provide Nix expressions along with pre-built binaries. Binary patching In addition to downloading binaries automatically if they’re available, Nix can download binary deltas that patch an existing package in the Nix store into a new version. This speeds up upgrades.
  8. Nix package and configuration manager

    Indeed, it keeps all dependencies that are still needed. Remember, nix does not remove packages, before 'garbage collecting' them. Well, I still have a fuzzy knowledge of it, but reading: http://hydra.nixos.org/build/1463176/download/1/manual/#sec-profiles my understanding was (in fact still is) that it was already linking to common dependencies. If multiple installed versions require different different versions if the libs, then of course you will have multiple versions of the libs. But frankly... I still do not get much the picture of writing nix-expressions.
  9. Nix package and configuration manager

    I was not aware of your IRC discussion about it. I was asking myself what was going on with Linux kernel, discovered lwn.net, and was going through their list of Linux distributions when I found it. That said, I wish you more luck than me if you try to try it. I cannot log on the installation CD Linux, because of some kernel oops that seems linked to aufs (a new unionfs). I wrote a message on their development list, and am waiting an helpful comment: http://lists.science.uu.nl/pipermail/nix-dev/2011-October/thread.html#7033
  10. Nix package and configuration manager

    I am just discovering Nix package manager... and associated NixOS distribution. http://nixos.org/nix/ For me this is wonderfull because this is what I considered is the biggest problem to the quality of Linux. Basically, allowing people to have an old very stable version, and be able to test the latest version.
  11. How I succeended to set time

    Well, I had to 'rm -r .e' (Remove my full configuration) to fix my problem with loosing MainMenu and Favorites when clicking an empty space. So, I think this is where I lost date and time... I think. Command-line commands have normally way too much functionality, could be similar to GUI by using curses and/or zenity but don't. There should probably always be two commandw, the plain user oriented using zenity, that would call the expert one, that is the one that exist now. Just imagine how cool it would be to have on the clock gadget, a button 'Set date and time' that would do 'sudo dpkg-reconfigure tzdata' ! But to respect the Enlightenment interface, guess it would have to be on the Settings for the clock module rather than the obvious place.
  12. While looking my 56k modem downloading again and again these repositories metadata files, I had lots of time to think. Thinking how developers have made delta package, but not delta metadata files. How maybe, using rsync to update uncompressed (think how changing one byte in the uncompress file, change so many bytes in the compressed one) files would be more effective. Thinking, hey, why all these packages anyway? Why not use git pull, to update my system? After all, it does support binary files. Oh yeah... maybe I would have to have a separate git directory by package. So I would have to have some programs, to go through each directory, to do git pull in each. Bodhi Linux seems to get the idea of Long Term Service being good. Well... not as much one would expect. By the time an Ubuntu is released, there is not much changes made to it. Bugs are discovered after release, for a pretty obvious reason. But then, it is mostly too late. Developers want to know if the bug exist in unstable. They don't care too much about the just released version, except for security issues. They only fix unstable, and only in special cases would the fix be back ported. So, this make me think. That's all I do anyway, think that I think. Packages does describe rules of dependencies, kind of package A need package B version >= 2.1. But it make not too much sense, if mostly you have stable or testing installed. I means, if you do not mix versions, which few do (apt-pinning I think). So we say: Don't install Unstable, unless you are a developer. Wait for it to become stable before installing it. Then, when you get stable, and report bug developers say: Oh, but that's old, try on Unstable! So, part of the problem, is the apparent inability of apt to install more than one version at a time. But why? I believe DLL (Dynamic Link Libraries) [.dll euh... pardon .so files] are able to choose a version among many installed. Well not sure. Then there is the question... suppose /bin/bash , if there is more than one version, which one is it. Could have /bin/bash be a link to /bin/bash_version_10_04. And have /bin/bash_version_11_10. Need /etc for different versions too. Mostly, need every directory for every version. Guess then, maybe I should have: /10_04/etc /10_04/usr /11_10/etc /11_10/usr and have for each file of /usr/bin, a link to the one you want to be the default. There must be a way to install both stable and unstable in the same partitions! Using paths, jails, etc. Hard Disk so big now, guess people don't care too much to have two distributions installed, if it allow them to test and compare both easily. Could have the full stable or unstable... but it would be nice to be able to simply select a package in unstable and have it download only needed dependancies (without having to remove installed one!).
  13. How I succeended to set time

    I think I hate Linux a bit more than I love it. Just an example of a problem. I wanted to set the hour. Had to use command line rather than the GUI that does not allow it. But because learning to use date is not obvious at all, I made errors, and had to make in in more than one day. To summarize: sudo timezone ; to select your timezone if not set correctly sudo date -s 2345 +%H%M ; to set to 23h45 local time I wish the date man page would give an example like this one. sudo hwclock --systohc ; to set hc (hardware clock) to system time Then I reboot to test if the time will be kept correctly. Surprise, that does not boot anymore. Doing Escape, shows the reason. The automatic fsck (Filesystem Check) did see an error. The error was that the last time the filesystem was check, was in the future. That is while learning date, I did set it to october 14 rather than september 14. I had the bad idea to fix that. So the system suggest me to fsck /dev/sda6 without -a (auto). Nice! But I have to boot for that. So I use the Bodhi 1.2 Linux CD to boot in Live. Then I have to unmount /media/sda6, before being able to fsck /dev/sda6. No errors, all is fine. Then you reboot, and tada!!! A Linux box with set hour. It's hard not to compare the process with The commercial OS.
  14. Factory Elementary Test crash

    Version: Bodhi 1.2.0 Try Factory Test of Elementarty Test open a window, but the background stay transparent. After about 5 seconds, 'crash' happen: Error Signal Information: elementary_test was interrupted by an Uninterruptable Kill Signal. Output Data: There was no output Error Logs: There was no error message
  15. Hi! I have tried and love 1.0.1 just some days before 1.0.2 get out. Yesterday, I installed 1.0.2, and begin to read The 'off-line' Bodhi Guide to Enlightenment. I have added Favorites, and still can access them in the Main Menu, but only by the lower-left icon for the Main Menu. I cannot access the Main Menu anymore, by clicking an empty space on the Desktop. Nor can I access anymore the Favorites this way. I get the lightning effect, that I use to get Right-Clicking before I added the favorites. I tried the universal debugging procedure: reboot the computer, but that did not work. I discovered this problem, after discovering a bug: Trying to run the Factory 'test' in Elementary Test. Which open a transparent window, have the CPU work hard, and then get an error: Error Signal Information: elementary_test was interrupted by an Uninterruptable Kill Signal. Output Data: There was no output Error Logs: There was no error message Edit1: I reported the bug in Elementary Test: http://www.bodhilinux.com/forums/index.php?/topic/2344-factory-elementary-test-crash/ Edit2: Fixed by making a backup of .e directory, then deleting it
×