Coder Social home page Coder Social logo

checkinstall's People

Contributors

ruxkor avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

checkinstall's Issues

--exclude confusing

the way how --exclude is currently implemented (https://github.com/ruxkor/checkinstall/blob/master/checkinstall#L1674) is not fully straight forward:

checkinstall validates the list against -d and -f, which means the first checkinstall --exclude will always fail (since those files haven't been installed yet) - I suppose this is then more a functionality to avoid that subsequent runs won't overwrite existing files?

Would it be possible to have some feature that is based on the newfiles.tmp while excluding simple patterns, so we can get a little more control over the .deb creation process?

This tool will brick the system on ubuntu 22.04 at least

Here is an existing thread of this bug. I hope it is the right place to place this issue?
https://www.reddit.com/r/Ubuntu/comments/x08ex6/psa_checkinstall_can_brick_your_ubuntu_2204_system/

I was bitten by this as I tried using it to install python from source on ubuntu 22.04. At the end of the compilation it printed something like removing temporary files or something like that, but it remained there for a long time so I figured I might stop it and re-run it so I hit ctrl c. And then all commands failed to work, and it is really a pain in the ass if working on a remote server...

online threads says it is because the tool removed the links in /lib when interupted and the fix is to remove /lib and make a symbol link to /usr/lib... but I don't know how to do that as the rm and ln command are not working ... and I cannot use a usb driver to boot as they do as it is a remote server managed by other teams.

Qmake errors

There is a problem of creating the deb package for Makefile that is generated by qmake. For example, when I run

sudo checkinstall make install

I get errors like Error copying, but make install works perfectly.

Cannot install aaa_base_1.0-1.deb in Debian.

Cannot install aaa_base_1.0-1.deb in Debian Testing. Without it, it won't be able to remove most deb packages installed with checkinstall. dpkg seems to be unwilling to remove things like "/", "/usr" and others.

$sudo dpkg -i aaa_base_1.0-1.deb
dpkg: error processing archive aaa_base_1.0-1.deb (--install):
parsing file '/var/lib/dpkg/tmp.ci/control' near line 11 package 'aaa-base':
blank line in value of field 'Description'
Errors were encountered while processing:
aaa_base_1.0-1.deb
$sudo dpkg -I aaa_base-1.0-1.deb
dpkg-deb: error: failed to read archive `aaa_base-1.0-1.deb': No such file or directory

File creation with sudo are not detected.

I had the following on my makefile:

echo 'abc' | sudo tee /usr/share/xyz/config.conf

But then the new file creation was not detected. However changing it to:

echo 'abc' | tee /usr/share/xyz/config.conf

Worked. Is this pointed out in the documentation?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.