Skip to content

fix: deb installation error#1844

Merged
lucasfernog merged 2 commits intotauri-apps:devfrom
x7c1:fix/libwebkit2gtk-package-name
May 17, 2021
Merged

fix: deb installation error#1844
lucasfernog merged 2 commits intotauri-apps:devfrom
x7c1:fix/libwebkit2gtk-package-name

Conversation

@x7c1
Copy link
Contributor

@x7c1 x7c1 commented May 17, 2021

What kind of change does this PR introduce? (check at least one)

  • Bugfix
  • Feature
  • New Binding Issue #___
  • Code style update
  • Refactor
  • Build-related changes
  • Other, please describe:

Does this PR introduce a breaking change? (check one)

  • Yes. Issue #___
  • No

The PR fulfills these requirements:

  • When resolving a specific issue, it's referenced in the PR's title (e.g. fix: #xxx[,#xxx], where "xxx" is the issue number)
  • A change file is added if any packages will require a version bump due to this PR per the instructions in the readme.

If adding a new feature, the PR's description includes:

  • A convincing reason for adding this feature (to avoid wasting your time, it's best to open a suggestion issue first and wait for approval before working on it)

Other information:

it will fix the installation error occured by this steps:

# /your/path/to/tauri/examples/helloworld
$ cargo tauri build
...
    Bundling helloworld_0.1.0_amd64.deb
    Bundling helloworld_0.1.0_amd64.AppImage
    Finished 2 bundles at:
        /your/path/to/tauri/target/release/bundle/deb/helloworld_0.1.0_amd64.deb
        /your/path/to/tauri/target/release/bundle/appimage/helloworld_0.1.0_amd64.AppImage
$ sudo apt-get install ../../target/release/bundle/deb/helloworld_0.1.0_amd64.deb
[sudo] password for <you>: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'helloworld' instead of '../../target/release/bundle/deb/helloworld_0.1.0_amd64.deb'
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 helloworld : Depends: libwebkit2gtk-4.0 but it is not installable
E: Unable to correct problems, you have held broken packages.

@x7c1 x7c1 marked this pull request as ready for review May 17, 2021 09:59
@x7c1 x7c1 requested a review from a team as a code owner May 17, 2021 09:59
@x7c1 x7c1 requested a review from a team May 17, 2021 09:59
@x7c1 x7c1 changed the title fix: correct libwebkit2gtk package fix: deb installation error May 17, 2021
@lucasfernog
Copy link
Member

Thanks :)

@lucasfernog lucasfernog merged commit e08065d into tauri-apps:dev May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants