Giter Site home page Giter Site logo

deepin-deb-installer's Introduction

Deepin deb installer

Deepin deb installer helps users install and remove local packages. Deepin deb installer is an easy-to-use deb package management tool with a simple interface for users to quickly install customized applications not included in App Store supporting bulk installation, version identification and auto completion.

Dependencies

  • libqapt3
  • libqapt3-runtime
  • deepin-elf-sign-tool

Build dependencies

  • pkg-config
  • cmake
  • libqt5widgets5
  • libqt5concurrent5
  • libqapt-dev
  • libdtkwidget-dev
  • qtbase5-dev
  • qttools5-dev-tools
  • qttools5-dev
  • qtchooser
  • libgtest-dev
  • deepin-gettext-tools
  • libpolkit-qt5-1-dev

Installation

Build from source code

  1. Make sure you have installed all dependencies
sudo apt build-dep deepin-deb-installer
  1. Build
mkdir build
cd build
cmake ..
make
  1. Install
sudo make install

Documentations

Please see INTRODUCTION.md

Getting help

Any usage issues can ask for help via

Getting involved

We encourage you to report issues and contribute changes

License

Deepin deb installer is licensed under GPL-3.0-or-later

deepin-deb-installer's People

Contributors

changzex avatar deepin-bot[bot] avatar electricface1 avatar gs342 avatar hudeng-go avatar hzlwwwwt avatar iceyer avatar isyzx avatar justforlxz avatar jxm96 avatar kuchune avatar l1nnnn avatar listenerri avatar openarun avatar playhi avatar rb-union avatar reionwong avatar sbwtw avatar starhcq avatar tsic404 avatar yoho0623 avatar zccrs avatar zhangkai749 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  avatar

Watchers

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

deepin-deb-installer's Issues

在依赖关系可以满足的情况下也会提示“依赖关系不满足”

问题

在某些特定情况下,deepin-deb-installer不能正确解决依赖关系。

虽然软件包的依赖很简单(这里只有一个wine),而且可以顺利被apt命令安装,但是deepin-deb-installer会给出“依赖关系不满足”的错误。

图片

复现方法

  1. 全新安装 Deepin v20。
  2. 从应用商店安装QQ。
  3. deepin-deb-installer安装这个软件包: build.deb.zip
    (注意这个包只是为了演示依赖问题而制作的,软件本身并不能正常运行。想运行可以去这里下载完整版)
  4. deepin-deb-installer提示“依赖关系不满足:wine”

该软件包的依赖只有一个wine。如果系统内没有安装wine却安装了deepin-wine*等包,就会发生这种问题。全新安装Deepin v20后从应用商店安装QQ是触发这个问题最简单的方法。

如果你已经安装了wine,但是依然还想复现该问题,可能需要先卸载所有与wine相关的包然后再试。特别是要卸载wine32:i386这个包。

日志

删除了行内多余的空白

hu60@hu60-PC:~/Downloads$ deepin-deb-installer build.deb
load translate "/usr/share/libdtk-5.1.2/DWidget/translations/dtkwidget_zh_CN"
load translate "/usr/share/deepin-deb-installer/translations/deepin-deb-installer_zh_CN"
2020-08-15, 21:20:09.728 [Debug] [0] "deepin-deb-installer" started, version =  "5.3.2.1"
2020-08-15, 21:20:09.728 [Debug] [0] ("build.deb")
No appenders assotiated with category qt.qpa.xcb
[Warning] <> QXcbConnection: XCB error: 5 (BadAtom), sequence: 475, resource id: 0, major code: 20 (GetProperty), minor code: 0
2020-08-15, 21:20:09.979 [Debug] [0] setCustomQPalette m_colorRole: QPalette::ColorRole(WindowText) 

2020-08-15, 21:20:09.979 [Debug] [0] setCustomQPalette m_colorRole: QPalette::ColorRole(WindowText) 

2020-08-15, 21:20:09.979 [Debug] [0] setCustomQPalette m_colorRole: QPalette::ColorRole(WindowText) 

2020-08-15, 21:20:09.979 [Debug] [0] setCustomQPalette m_colorRole: QPalette::ColorRole(WindowText) 

2020-08-15, 21:20:10.313 [Debug] [0] depends:
2020-08-15, 21:20:10.313 [Debug] [0] Check for package "net.winegame.client"
2020-08-15, 21:20:10.313 [Debug] [0] package with arch "wine" "amd64" ""
2020-08-15, 21:20:10.314 [Debug] [0] "依赖" "wine" "amd64" "" ""
2020-08-15, 21:20:10.314 [Debug] [0] check conflict for package "wine" "amd64"
2020-08-15, 21:20:10.314 [Debug] [0] check conflict for local installed package is ok.
2020-08-15, 21:20:10.314 [Debug] [0] check finished, conflict is satisfy: "wine" true
2020-08-15, 21:20:10.314 [Debug] [0] Check indirect dependencies for package "wine"
2020-08-15, 21:20:10.314 [Debug] [0] package with arch "wine64" "amd64" ""
2020-08-15, 21:20:10.314 [Debug] [0] "依赖" "wine64" "amd64" ">=" "4.0-2"
2020-08-15, 21:20:10.314 [Debug] [0] check conflict for package "wine64" "amd64"
2020-08-15, 21:20:10.314 [Debug] [0] check conflict for local installed package is ok.
2020-08-15, 21:20:10.314 [Debug] [0] check finished, conflict is satisfy: "wine64" true
2020-08-15, 21:20:10.314 [Debug] [0] Check indirect dependencies for package "wine64"
2020-08-15, 21:20:10.314 [Debug] [0] package with arch "libc6" "amd64" ""
2020-08-15, 21:20:10.314 [Debug] [0] "依赖" "libc6" "amd64" ">=" "2.17"
2020-08-15, 21:20:10.314 [Debug] [0] package with arch "libwine" "amd64" ""
2020-08-15, 21:20:10.314 [Debug] [0] "依赖" "libwine" "amd64" "=" "4.0-2"
2020-08-15, 21:20:10.320 [Debug] [0] check conflict for package "libwine" "amd64"
2020-08-15, 21:20:10.320 [Debug] [0] check conflict for local installed package is ok.
2020-08-15, 21:20:10.321 [Debug] [0] check finished, conflict is satisfy: "libwine" true
2020-08-15, 21:20:10.321 [Debug] [0] Check indirect dependencies for package "libwine"
2020-08-15, 21:20:10.321 [Debug] [0] package with arch "libc6" "amd64" ""
2020-08-15, 21:20:10.321 [Debug] [0] "依赖" "libc6" "amd64" ">=" "2.27"
2020-08-15, 21:20:10.321 [Debug] [0] package with arch "libfontconfig1" "amd64" ""
2020-08-15, 21:20:10.321 [Debug] [0] "依赖" "libfontconfig1" "amd64" ">=" "2.12.6"
2020-08-15, 21:20:10.321 [Debug] [0] package with arch "libfreetype6" "amd64" ""
2020-08-15, 21:20:10.321 [Debug] [0] "依赖" "libfreetype6" "amd64" ">=" "2.6.2"
2020-08-15, 21:20:10.321 [Debug] [0] package with arch "libncurses6" "amd64" ""
2020-08-15, 21:20:10.322 [Debug] [0] "依赖" "libncurses6" "amd64" ">=" "6"
2020-08-15, 21:20:10.322 [Debug] [0] package with arch "libtinfo6" "amd64" ""
2020-08-15, 21:20:10.322 [Debug] [0] "依赖" "libtinfo6" "amd64" ">=" "6"
2020-08-15, 21:20:10.322 [Debug] [0] package with arch "libasound2" "amd64" ""
2020-08-15, 21:20:10.322 [Debug] [0] "依赖" "libasound2" "amd64" ">=" "1.0.16"
2020-08-15, 21:20:10.322 [Debug] [0] package with arch "libgcc1" "amd64" ""
2020-08-15, 21:20:10.322 [Debug] [0] "依赖" "libgcc1" "amd64" ">=" "1:3.0"
2020-08-15, 21:20:10.322 [Debug] [0] package with arch "libglib2.0-0" "amd64" ""
2020-08-15, 21:20:10.322 [Debug] [0] "依赖" "libglib2.0-0" "amd64" ">=" "2.12.0"
2020-08-15, 21:20:10.322 [Debug] [0] package with arch "libgphoto2-6" "amd64" ""
2020-08-15, 21:20:10.322 [Debug] [0] "依赖" "libgphoto2-6" "amd64" ">=" "2.5.10"
2020-08-15, 21:20:10.322 [Debug] [0] package with arch "libgphoto2-port12" "amd64" ""
2020-08-15, 21:20:10.322 [Debug] [0] "依赖" "libgphoto2-port12" "amd64" ">=" "2.5.10"
2020-08-15, 21:20:10.322 [Debug] [0] package with arch "libgstreamer-plugins-base1.0-0" "amd64" ""
2020-08-15, 21:20:10.322 [Debug] [0] "依赖" "libgstreamer-plugins-base1.0-0" "amd64" ">=" "1.0.0"
2020-08-15, 21:20:10.322 [Debug] [0] package with arch "libgstreamer1.0-0" "amd64" ""
2020-08-15, 21:20:10.322 [Debug] [0] "依赖" "libgstreamer1.0-0" "amd64" ">=" "1.4.0"
2020-08-15, 21:20:10.322 [Debug] [0] package with arch "liblcms2-2" "amd64" ""
2020-08-15, 21:20:10.322 [Debug] [0] "依赖" "liblcms2-2" "amd64" ">=" "2.2+git20110628"
2020-08-15, 21:20:10.322 [Debug] [0] package with arch "libldap-2.4-2" "amd64" ""
2020-08-15, 21:20:10.322 [Debug] [0] "依赖" "libldap-2.4-2" "amd64" ">=" "2.4.7"
2020-08-15, 21:20:10.322 [Debug] [0] package with arch "libmpg123-0" "amd64" ""
2020-08-15, 21:20:10.322 [Debug] [0] "依赖" "libmpg123-0" "amd64" ">=" "1.6.2"
2020-08-15, 21:20:10.322 [Debug] [0] package with arch "libopenal1" "amd64" ""
2020-08-15, 21:20:10.322 [Debug] [0] "依赖" "libopenal1" "amd64" ">=" "1.14"
2020-08-15, 21:20:10.322 [Debug] [0] package with arch "libpcap0.8" "amd64" ""
2020-08-15, 21:20:10.323 [Debug] [0] "依赖" "libpcap0.8" "amd64" ">=" "0.9.8"
2020-08-15, 21:20:10.323 [Debug] [0] package with arch "libpulse0" "amd64" ""
2020-08-15, 21:20:10.323 [Debug] [0] "依赖" "libpulse0" "amd64" ">=" "0.99.1"
2020-08-15, 21:20:10.323 [Debug] [0] package with arch "libudev1" "amd64" ""
2020-08-15, 21:20:10.323 [Debug] [0] "依赖" "libudev1" "amd64" ">=" "183"
2020-08-15, 21:20:10.323 [Debug] [0] package with arch "libvkd3d1" "amd64" ""
2020-08-15, 21:20:10.323 [Debug] [0] "依赖" "libvkd3d1" "amd64" ">=" "1.0"
2020-08-15, 21:20:10.330 [Debug] [0] check conflict for package "libvkd3d1" "amd64"
2020-08-15, 21:20:10.331 [Debug] [0] check conflict for local installed package is ok.
2020-08-15, 21:20:10.331 [Debug] [0] check finished, conflict is satisfy: "libvkd3d1" true
2020-08-15, 21:20:10.331 [Debug] [0] Check indirect dependencies for package "libvkd3d1"
2020-08-15, 21:20:10.331 [Debug] [0] package with arch "libvulkan1" "amd64" ""
2020-08-15, 21:20:10.331 [Debug] [0] "依赖" "libvulkan1" "amd64" ">=" "1.1.70"
2020-08-15, 21:20:10.331 [Debug] [0] package with arch "libc6" "amd64" ""
2020-08-15, 21:20:10.331 [Debug] [0] "依赖" "libc6" "amd64" ">=" "2.14"
2020-08-15, 21:20:10.332 [Debug] [0] Check finshed for package "libvkd3d1"
2020-08-15, 21:20:10.332 [Debug] [0] package with arch "libx11-6" "amd64" ""
2020-08-15, 21:20:10.332 [Debug] [0] "依赖" "libx11-6" "amd64" "" ""
2020-08-15, 21:20:10.332 [Debug] [0] package with arch "libxext6" "amd64" ""
2020-08-15, 21:20:10.332 [Debug] [0] "依赖" "libxext6" "amd64" "" ""
2020-08-15, 21:20:10.332 [Debug] [0] package with arch "libxml2" "amd64" ""
2020-08-15, 21:20:10.332 [Debug] [0] "依赖" "libxml2" "amd64" ">=" "2.9.0"
2020-08-15, 21:20:10.332 [Debug] [0] package with arch "ocl-icd-libopencl1" "amd64" ""
2020-08-15, 21:20:10.332 [Debug] [0] "依赖" "ocl-icd-libopencl1" "amd64" "" ""
2020-08-15, 21:20:10.340 [Debug] [0] multi arch installed:  "ocl-icd-libopencl1" "2.2.12-2" "amd64" with "ocl-icd-libopencl1" "2.2.12-2" "i386"
2020-08-15, 21:20:10.340 [Debug] [0] package with arch "libopencl1" "amd64" ""
2020-08-15, 21:20:10.341 [Debug] [0] check virtual package providers for package "libopencl1" "amd64" ""
2020-08-15, 21:20:10.386 [Debug] [0] package with arch "ocl-icd-libopencl1" "amd64" ""
2020-08-15, 21:20:10.386 [Debug] [0] "依赖" "libopencl1" "amd64" "" ""
2020-08-15, 21:20:10.392 [Debug] [0] multi arch installed:  "ocl-icd-libopencl1" "2.2.12-2" "amd64" with "ocl-icd-libopencl1" "2.2.12-2" "i386"
2020-08-15, 21:20:10.392 [Debug] [0] depends break by direct depends "libwine" "amd64" "ocl-icd-libopencl1:amd64"
2020-08-15, 21:20:10.392 [Debug] [0] depends break by direct depends "wine64" "amd64" "libwine"
2020-08-15, 21:20:10.392 [Debug] [0] package with arch "wine32" "amd64" ""
2020-08-15, 21:20:10.392 [Debug] [0] check virtual package providers for package "wine32" "amd64" ""
2020-08-15, 21:20:10.430 [Debug] [0] package with arch "deepin-wine5-tools" "amd64" ""
2020-08-15, 21:20:10.430 [Debug] [0] check virtual package providers for package "deepin-wine5-tools" "amd64" ""
2020-08-15, 21:20:10.464 [Debug] [0] depends break because package "wine32" not available
2020-08-15, 21:20:10.464 [Debug] [0] depends break by direct depends "wine" "amd64" "wine32"
2020-08-15, 21:20:10.464 [Debug] [0] Check finished for package "net.winegame.client" 2
2020-08-15, 21:20:10.464 [Debug] [0] setCustomDPalette m_colorType: 4 

What is the copyright license of the fonts used?

Hello there,
I see that there are two TTF font files in assets/font/
SourceHanSansCN-Medium.ttf
SourceHanSansCN-Normal.ttf

I would like to know what license are those files released and their copyright?
Thanks!

Dragging a .deb doesn't work when the file has uppercase letters

If the name of the .deb file contains uppercase letters, dragging the file to the Package Intaller window does not accept the file.

If the right click option is used, opened with, Package Instaler, then it does accept the .deb file.

Computer data and programs

lsb_release -a                                                                                                          
No LSB modules are available.                                                                                                                 
Distributor ID: Deepin                                                                                                                        
Description:    Deepin 20                                                                                                                     
Release:        20                                                                                                                            
Codename:       n/a
uname -a                                                                                                                
Linux titan 5.4.50-amd64-desktop #74 SMP Mon Aug 24 20:15:37 CST 2020 x86_64 GNU/Linux
cat /etc/deepin-version                                                                                                 
[Release]                                                                                                                                     
Version=20                                                                                                                                    
Type=Desktop                                                                                                                                  
Type[zh_CN]=社区版                                                                                                                            
Edition=Y2020E0001                                                                                                                            
Copyright=Y2020CR001                                                                                                                          
[Addition]                                                                                                                                    
Milestone=                                                                                                                                    
Buildid=build1
apt list deepin-deb-installer
Listando... Hecho
deepin-deb-installer/stable,now 5.6.0.16-1 amd64 [instalado]
deepin-deb-installer/desconocido 5.3.22-1 i386

Captura de pantalla_dde-desktop_20200918114214.zip

带交互的deb安装问题

带交互的deb安装时,输入交互数据后点击 确定按钮没反应。
版本是 uos软件包安装器 5.7.0.20

Typo

./packagesmanager.cpp:327: choosed ==> chose, chosen
./packagesmanager.cpp:338: choosed ==> chose, chosen
./packagesmanager.cpp:362: choosed ==> chose, chosen
./packagesmanager.cpp:368: choosed ==> chose, chosen
./packagesmanager.cpp:525: availble ==> available
./packagesmanager.cpp:543: choosed ==> chose, chosen
./deblistmodel.cpp:410: availble ==> available

"Update" instead of "Reinstall" when installing newer package.

When installing newer package, the button on the right could say Update instead of Reinstall.
Reinstall should be reserved for the same package install.
Didn't try this, but if it is possible to install older package version, the button could say Downgrade.
I think this little change will confuse users a bit less 😊

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.